You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 106 Next »

Recommendations

FIO01-A. Prefer functions that do not rely on file names

FIO02-A. Canonicalize file names originating from untrusted sources

FIO03-A. Do not make assumptions about fopen() and file creation

FIO04-A. Detect and handle input output errors

Rules

FIO30-C. Exclude user input from format strings

FIO32-C. Do not assume file names generated with tmpnam() remain unique

FIO33-C. Detect and handle input output errors resulting in undefined behavior

FIO34-C. Do not convert the value returned by a character IO function

FIO35-C. Do not compare characters with EOF

FI036-C. Don't assume a newline character is read

FI037-C. Don't assume character data has been read

FI038-C. Do not copy a FILE object

  • No labels