Versions Compared

Key

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

...

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

Related Guidelines

MITRE CWE

CWE ID 460,

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="127046a9-787b-491c-8bdf-b6e9add20da0"><ac:plain-text-body><![CDATA[

[[MITRE 2009

AA. Bibliography#MITRE 09]]

[CWE-460

http://cwe.mitre.org/data/definitions/460.html] "Improper Cleanup on Thrown Exception"

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

 

CWE -ID 584, "Return Inside Finally Block"

 

CWE -ID 248, "Uncaught Exception"

 

CWE -ID 705, "Incorrect Control Flow Scoping"

...

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4ac96ff642203b0a-7184fa41-441b4385-9040995f-eccaf5066c5eec912e538f6a"><ac:plain-text-body><![CDATA[

[[Bloch 2005

AA. Bibliography#Bloch 05]]

Puzzle 41: Field and Stream

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="f82dae3e93f06f4f-310ba1b2-46ed413b-b4728d2d-5b1890a5c20dba0619d35b29"><ac:plain-text-body><![CDATA[

[[Chess 2007

AA. Bibliography#Chess 07]]

8.3 Preventing Resource Leaks (Java)

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="aa778a73d8deb779-3d1934b0-4bc24e75-8a66ae71-8c5fe0570a7821254b235cef"><ac:plain-text-body><![CDATA[

[[Harold 1999

AA. Bibliography#Harold 99]]

 

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

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="828609a3cea97e31-a0e67d69-4f0c4c0b-bc359dc6-ea922b77f751a25d0f9ca158"><ac:plain-text-body><![CDATA[

[[J2SE 2011

AA. Bibliography#J2SE 11]]

The try-with-resources Statement

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

...