Title: STR32-C. Do not pass a non-null-terminated character sequence to a library function that expects a string  
Author: Robert C. Seacord May 25, 2006
Last Changed by: David Svoboda Jun 08, 2023
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/r9UxBQ
Export As: Word · PDF  
Hierarchy
Parent Page
    Page: Rule 07. Characters and Strings (STR)
Outgoing Links
External Links (16)
    https://cwe.mitre.org/data/definitions/125.html
    cwe.mitre.org/data/definitions/170.html
    https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
    https://cwe.mitre.org/data/index.html
    https://www.mathworks.com/help/bugfinder/ref/certcrulestr32…
    https://cwe.mitre.org/data/definitions/123.html
    https://pvs-studio.com/en/docs/warnings/v692/
    https://wiki.sei.cmu.edu/confluence/display/c/AA.+Bibliogra…
    https://wiki.sei.cmu.edu/confluence/display/c/How+this+Codi…
    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/pages/viewpage.action?p…
    cwe.mitre.org/data/definitions/119.html
    https://wiki.sei.cmu.edu/confluence/display/c/PVS-Studio
    https://wiki.sei.cmu.edu/confluence/display/c/AA.+Bibliogra…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
SEI CERT C Coding Standard (26)     Page: Axivion Bauhaus Suite
    Page: Parasoft_V
    Page: TrustInSoft Analyzer
    Page: Klocwork_V
    Page: Coverity
    Page: Rose
    Page: Coverity_V
    Page: CodeSonar_V
    Page: Astrée
    Page: Helix QAC_V
    Page: PVS-Studio_V
    Page: BB. Definitions
    Page: Klocwork
    Page: LDRA_V
    Page: Parasoft
    Page: AA. Bibliography
    Page: LDRA
    Page: Polyspace Bug Finder
    Page: CodeSonar
    Page: Helix QAC
    Page: Axivion Bauhaus Suite_V
    Page: Polyspace Bug Finder_V
    Page: Astrée_V
    Home page: SEI CERT C Coding Standard
    Page: STR11-C. Do not specify the bound of a character array initialized with a string literal
    Page: TrustInSoft Analyzer_V