Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: code examples

...

Code Block
bgColor#FFcccc
langc
if (!(getuid() == 0 & geteuidgetgid() == 0)) { 
  /* ... */ 
} 

Compliant Solution

...

Code Block
bgColor#ccccff
langc
if (!(getuid() == 0 && geteuidgetgid() == 0)) {
  /* ... */
}

Risk Assessment

...