...
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
Other Languages
This rule appears in the C Secure Coding Standard as INT33-C. Ensure that division and modulo operations do not result in divide-by-zero errors.
CERT C++ Secure Coding Standard: INT33-CPP. Ensure that division and modulo operations do not result in divide-by-zero errors
Related Guidelines
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="40b8f1970a1baebf-4631c131-43074072-905a8fe0-423ade38224ae2028c6cc7bb"><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> |
INT33-C. Ensure that division and modulo operations do not result in divide-by-zero errors]. | |||||
INT33-CPP Ensure that division and modulo operations do not result in divide-by-zero errors] |
Bibliography
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="21d9d01e3ed2ecc5-944592b7-4d044f25-9b04877b-18b6086782194f0212fce96e"><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="f86eb0f43f8f08ab-fb47accd-4bd14df0-9f728c97-3c46ad876c88bc04d2cb2671"><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="b62df77c3e41f968-ef228642-4056410e-86af967b-6b9733f7894096ea8cb5b321"><ac:plain-text-body><![CDATA[ | [[Warren 02 | AA. Bibliography#Warren 02]] | Chapter 2, "Basics" | ]]></ac:plain-text-body></ac:structured-macro> |
...