Title: MEM35-C. Allocate sufficient memory for an object  
Author: Jeffrey Gennari Jun 20, 2006
Last Changed by: Jill Britton Apr 20, 2023
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/ANYxBQ
Export As: Word · PDF  
Hierarchy
Parent Page
    Page: Rule 08. Memory Management (MEM)
Outgoing Links
External Links (27)
    xorl.wordpress.com/2009/06/10/cve-2009-0587-evolution-data-…
    https://wiki.sei.cmu.edu/confluence/display/c/AA.+Bibliogra…
    https://taas.trust-in-soft.com/tsnippet/t/77590559
    https://wiki.sei.cmu.edu/confluence/display/c/INT18-C.+Eval…
    https://wiki.sei.cmu.edu/confluence/display/c/How+this+Codi…
    https://cwe.mitre.org/data/index.html
    https://www.mathworks.com/help/bugfinder/ref/certcrulemem35…
    cwe.mitre.org/data/definitions/131.html
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/display/c/PVS-Studio
    https://wiki.sei.cmu.edu/confluence/display/c/INT32-C.+Ensu…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/display/c/SEI+CERT+C+Co…
    https://wiki.sei.cmu.edu/confluence/display/c/ARR01-C.+Do+n…
    https://pvs-studio.com/en/docs/warnings/v531/
    https://wiki.sei.cmu.edu/confluence/display/c/INT31-C.+Ensu…
    https://pvs-studio.com/en/docs/warnings/v781/
    https://cwe.mitre.org/data/index.html789.html
    https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
    https://wiki.sei.cmu.edu/confluence/display/c/MEM04-C.+Bewa…
    https://wiki.sei.cmu.edu/confluence/display/c/AA.+Bibliogra…
    https://cwe.mitre.org/data/index.html680.html
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    cwe.mitre.org/
    https://pvs-studio.com/en/docs/warnings/v635/
SEI CERT C Coding Standard (33)     Page: Coverity_V
    Page: MEM04-C. Beware of zero-length allocations
    Page: Rose
    Home page: SEI CERT C Coding Standard
    Page: LDRA_V
    Page: Polyspace Bug Finder
    Page: AA. Bibliography
    Page: STR31-C. Guarantee that storage for strings has sufficient space for character data and the null terminator
    Page: TrustInSoft Analyzer_V
    Page: PC-lint Plus_V
    Page: Coverity
    Page: PC-lint Plus
    Page: BB. Definitions
    Page: Helix QAC_V
    Page: TrustInSoft Analyzer
    Page: Splint
    Page: Astrée
    Page: Astrée_V
    Page: RuleChecker
    Page: Parasoft
    Page: CodeSonar_V
    Page: Klocwork
    Page: Axivion Bauhaus Suite_V
    Page: Polyspace Bug Finder_V
    Page: CodeSonar
    Page: LDRA
    Page: MEM33-C. Allocate and copy structures containing a flexible array member dynamically
    Page: Helix QAC
    Page: INT30-C. Ensure that unsigned integer operations do not wrap
    Page: PVS-Studio_V
    Page: RuleChecker_V
    Page: Parasoft_V
    Page: Klocwork_V