Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this non-compliant code example from a vulnerability in the useradd() function of the shadow-utils package CVE-2006-1174 , the third argument to open() has been accidentally ommittedomitted.

Code Block
bgColor#ffcccc
fd = open(ms, O_CREAT|O_EXCL|O_WRONLY|O_TRUNC);

...