Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: New exception

...

Code Block
bgColor#CCCCFF
langc
int privileges;

if (invalid_login()) {
  if (allow_guests()) {
    privileges = GUEST;
  } 
} else {
  privileges = ADMINISTRATOR;
}

Exceptions

EXP19-C-EX0: An if, for, or while statement with an empty body needs no braces surrounding the empty body.

Risk Assessment

Recommendation

Severity

Likelihood

Remediation Cost

Priority

Level

EXP19-C

Medium

Probable

Medium

P8

L2

...