Versions Compared

Key

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

...

Recommendation

Severity

Likelihood

Remediation Cost

Priority

Level

FIO18-C

Medium

Probable

Medium

P12

L1

Other Languages

Related Guidelines

CERT This rule can be found in the C++ Secure Coding Practice as Standard: FIO18-CPP. Never expect write() to terminate the writing process at a null character

ISO/IEC 9899:1999 Section 7.19.8.2, "The fwrite function"

Bibliography

Wiki Markup[http://www.opengroup.org/onlinepubs/009695399/functions/fwrite.html] \[[ISO/IEC 9899:1999|AA. Bibliography#ISO/IEC 9899-1999]\] Section 7.19.8.2, "The fwrite function"

...

      09. Input Output (FIO)      FIO19-C. Do not use fseek() and ftell() to compute the size of a file