Title: INT31-C. Ensure that integer conversions do not result in lost or misinterpreted data  
Author: Robert C. Seacord Jun 08, 2006
Last Changed by: Caden Milne Nov 01, 2024
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/U9YxBQ
Export As: Word · PDF  
Incoming Links
Hierarchy
Parent Page
    Page: Rule 04. Integers (INT)
Outgoing Links
External Links (39)
    https://pvs-studio.com/en/docs/warnings/v739/
    https://pvs-studio.com/en/docs/warnings/v1046/
    cwe.mitre.org/data/definitions/197.html
    web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2009-1376
    https://wiki.sei.cmu.edu/confluence/display/c/DCL03-C.+Use+…
    https://wiki.sei.cmu.edu/confluence/display/c/FIO34-C.+Dist…
    https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/display/c/How+this+Codi…
    https://pvs-studio.com/en/docs/warnings/v793/
    cwe.mitre.org/data/definitions/192.html
    https://wiki.sei.cmu.edu/confluence/display/c/AA.+Bibliogra…
    www.knosof.co.uk/cbook/cbook.html
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://pvs-studio.com/en/docs/warnings/v676/
    https://pvs-studio.com/en/docs/warnings/v721/
    https://pvs-studio.com/en/docs/warnings/v642/
    https://pvs-studio.com/en/docs/warnings/v1019/
    https://wiki.sei.cmu.edu/confluence/display/c/SEI+CERT+C+Co…
    https://pvs-studio.com/en/docs/warnings/v569/
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/display/c/AA.+Bibliogra…
    https://pvs-studio.com/en/docs/warnings/v716/
    https://wiki.sei.cmu.edu/confluence/display/java/SEI+CERT+O…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://pvs-studio.com/en/docs/warnings/v1029/
    xorl.wordpress.com/2009/05/28/cve-2009-1376-pidgin-msn-slp-…
    https://wiki.sei.cmu.edu/confluence/display/java/NUM12-J.+E…
    https://wiki.sei.cmu.edu/confluence/display/c/PVS-Studio
    https://cwe.mitre.org/data/index.html704.html
    https://wiki.sei.cmu.edu/confluence/display/c/INT18-C.+Eval…
    cwe.mitre.org/data/definitions/681.html
    https://cwe.mitre.org/data/index.html
    https://pvs-studio.com/en/docs/warnings/v562/
    https://pvs-studio.com/en/docs/warnings/v732/
    cwe.mitre.org/
    https://pvs-studio.com/en/docs/warnings/v784/
    https://pvs-studio.com/en/docs/warnings/v724/
    https://www.mathworks.com/help/bugfinder/ref/certcruleint31…
SEI CERT C Coding Standard (31)     Page: Cppcheck Premium
    Page: Rose
    Page: Coverity
    Home page: SEI CERT C Coding Standard
    Page: AA. Bibliography
    Page: Coverity_V
    Page: TrustInSoft Analyzer_V
    Page: DCL03-C. Use a static assertion to test the value of a constant expression
    Page: PVS-Studio_V
    Page: Astrée
    Page: Helix QAC
    Page: INT18-C. Evaluate integer expressions in a larger size before comparing or assigning to that size
    Page: RuleChecker
    Page: RuleChecker_V
    Page: Klocwork_V
    Page: Parasoft_V
    Page: Cppcheck_V
    Page: Astrée_V
    Page: CodeSonar_V
    Page: Parasoft
    Page: Polyspace Bug Finder_V
    Page: Klocwork
    Page: LDRA
    Page: LDRA_V
    Page: Cppcheck
    Page: Polyspace Bug Finder
    Page: CodeSonar
    Page: Cppcheck Premium_V
    Page: Helix QAC_V
    Page: BB. Definitions
    Page: TrustInSoft Analyzer