...
A divide-by-zero can result in abnormal program termination and denial of service.
Rule Recommendation | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
INT33NUM19-CPP J | low | likely | medium | P6 | L2 |
Automated Detection
Automated detection exists for C and C++, but not for Java yet.
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="7528ff8f55d3a44a-9abab4ee-4d95482f-989b91fb-e802e772005f172bbfa2825d"><ac:plain-text-body><![CDATA[ | [[ISO/IEC 9899:1999 | AA. Bibliography#ISO/IEC 9899-1999]] | Section 6.5.5, "Multiplicative operators" | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b543868751cfc6a0-771e1359-409a44b0-97deaa32-0ebdc881214e61008c2fb513"><ac:plain-text-body><![CDATA[ | [[MITRE 07 | AA. Bibliography#MITRE 07]] | [CWE ID 369 | http://cwe.mitre.org/data/definitions/369.html], "Divide By Zero" | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="54498831adb129e0-0be8c4e2-4b0d4714-893e95ec-744a81354e7a487c430287aa"><ac:plain-text-body><![CDATA[ | [[Seacord 05 | AA. Bibliography#Seacord 05]] | Chapter 5, "Integers" | ]]></ac:plain-text-body></ac:structured-macro> | |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="bdf6fb33371e37f0-1b405fed-43c04217-b7d9bbad-c398d06d4aac9b45ba382054"><ac:plain-text-body><![CDATA[ | [[Warren 02 | AA. Bibliography#Warren 02]] | Chapter 2, "Basics" | ]]></ac:plain-text-body></ac:structured-macro> |
...