Versions Compared

Key

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

...

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="b6f6440dd4f8f2a3-c5f37db1-492d44f2-9b719809-dbaae26715dcafd262e9954c"><ac:plain-text-body><![CDATA[

[[ISO/IEC 9899:1999MITRE 07

AA. Bibliography#ISO/IEC 9899-1999Bibliography#MITRE 07]]

[CWE ID 369

http://cwe.mitre.org/data/definitions/369.html], "Divide By Zero Section 6.5.5, "Multiplicative operators"

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

Bibliography

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="8dcb3089c4f270a3-8bbf8f85-43c9462b-b127b119-94ee3cafcfb9d319ad6ca529"><ac:plain-text-body><![CDATA[

[[MITRE 07ISO/IEC 9899:1999

AA. Bibliography#MITRE 07Bibliography#ISO/IEC 9899-1999]]

[CWE ID 369

http://cwe.mitre.org/data/definitions/369.html], "Divide By Zero 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="6b5a6e4e8c89158d-0f09f1c3-423c47ae-90d6be38-5c8ed45e56d1364b35e611d0"><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="1b86297cd2643c43-2b1f32a0-4c1047d8-a9b183be-90de240a76b2d461f544ab07"><ac:plain-text-body><![CDATA[

[[Warren 02

AA. Bibliography#Warren 02]]

Chapter 2, "Basics"

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

...