CertCRecommendations-FIOΒΆ

Input Output

Nested Rules

CertC-FIO01

Be careful using functions that use file names for identification

CertC-FIO02

Canonicalize path names originating from tainted sources

CertC-FIO03

Do not make assumptions about fopen() and file creation

CertC-FIO05

Identify files using multiple file attributes

CertC-FIO06

Create files with appropriate access permissions

CertC-FIO08

Take care when calling remove() on an open file

CertC-FIO09

Be careful with binary data when transferring data across systems

CertC-FIO10

Take care when using the rename() function

CertC-FIO11

Take care when specifying the mode parameter of fopen()

CertC-FIO13

Never push back anything other than one read character

CertC-FIO21

Do not create temporary files in shared directories

CertC-FIO24

Do not open a file that is already open

Options