Title: ARR01-C. Do not apply the sizeof operator to a pointer when taking the size of an array  
Author: Robert C. Seacord Jun 21, 2006
Last Changed by: Jon O'Donnell Mar 30, 2023
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/CdYxBQ
Export As: Word · PDF  
Incoming Links
Hierarchy
Parent Page
    Page: Rec. 06. Arrays (ARR)
Outgoing Links
External Links (23)
    https://wiki.sei.cmu.edu/confluence/display/c/AA.+Bibliogra…
    https://pvs-studio.com/en/docs/warnings/v697/
    https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
    https://wiki.sei.cmu.edu/confluence/display/cplusplus/CTR01…
    https://www.mathworks.com/help/bugfinder/ref/certcrec.arr01…
    cwe.mitre.org/data/definitions/467.html
    https://cwe.mitre.org/data/index.html
    https://cwe.mitre.org/data/index.html783.html
    https://wiki.sei.cmu.edu/confluence/display/c/How+this+Codi…
    https://pvs-studio.com/en/docs/warnings/v1086/
    https://cwe.mitre.org/data/index.html569.html
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://pvs-studio.com/en/docs/warnings/v514/
    https://pvs-studio.com/en/docs/warnings/v568/
    https://wiki.sei.cmu.edu/confluence/display/c/PVS-Studio
    https://pvs-studio.com/en/docs/warnings/v579/
    https://pvs-studio.com/en/docs/warnings/v512/
    cwe.mitre.org/
    https://pvs-studio.com/en/docs/warnings/v511/
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://pvs-studio.com/en/docs/warnings/v604/
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
SEI CERT C Coding Standard (25)     Page: AA. Bibliography
    Page: CodeSonar
    Page: PC-lint Plus_V
    Page: Splint_V
    Page: Klocwork_V
    Page: MEM35-C. Allocate sufficient memory for an object
    Page: Parasoft_V
    Page: PC-lint Plus
    Page: RuleChecker_V
    Page: PVS-Studio_V
    Page: CodeSonar_V
    Page: Parasoft
    Page: RuleChecker
    Page: Axivion Bauhaus Suite_V
    Page: Klocwork
    Home page: SEI CERT C Coding Standard
    Page: Astrée
    Page: Astrée_V
    Page: Splint
    Page: Axivion Bauhaus Suite
    Page: Rose
    Page: LDRA_V
    Page: LDRA
    Page: Polyspace Bug Finder_V
    Page: Polyspace Bug Finder