Versions Compared

Key

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

...

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

FIO04-J

low

probable

medium

P4

L3

Automated Detection

Although sound automated detection of this vulnerability is not feasible in the general case, many interesting cases can be soundly detected.

...

Related Guidelines

CERT C Coding Standard

FIO22-C. Close files before spawning processes

CERT C++ Secure Coding Standard

FIO42FIO51-CPP. Ensure Close files are properly closed when they are no longer needed

MITRE CWE

CWE-404. Improper resource shutdown or release

 

CWE-459. Incomplete cleanup

 

CWE-770. Allocation of resources without limits or throttling

 

CWE-405. Asymmetric resource consumption (amplification)

...