Versions Compared

Key

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

...

The Coverity Prevent Version 5.0 RESOURCE_LEAK checker can detect instances where there is leak of a socket resource or leak of a stream representing a file or other system resources.

Related

...

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

Related Guidelines

CERT C Secure Coding Standard

FIO42-C. Ensure files are properly closed when they are no longer needed

CERT C++ Secure Coding Standard

FIO42-CPP. Ensure 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)"

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2dd0402b47f59610-f254fd3d-4e774f3c-978aac9a-6355675600ff0f289570c818"><ac:plain-text-body><![CDATA[

[[API 2006

AA. Bibliography#API 06]]

[Class Object

http://java.sun.com/javase/6/docs/api/java/lang/Object.html]

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4aebbf4da92757fa-feb430a3-4c3e4b20-9ab4a271-8b018b19a3063dba51845130"><ac:plain-text-body><![CDATA[

[[Goetz 2006b

AA. Bibliography#Goetz 06b]]

 

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="f6168b579e07a984-887e7795-41cf4fa8-90f1b658-1cdacc18f508d9af977170bc"><ac:plain-text-body><![CDATA[

[[J2SE 2011

AA. Bibliography#J2SE 11]]

The try-with-resources Statement

]]></ac:plain-text-body></ac:structured-macro>

...