Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT C++ Coding Standard
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT C++ Coding Standard
2 Rules
Rule 04. Containers (CTR)
CTR52-CPP. Guarantee that library functions do not overflow
Page Information
Title:
CTR52-CPP. Guarantee that library functions do not overflow
Author:
Justin Pincar
Aug 13, 2008
Last Changed by:
Francesco Mariani
Jul 02, 2025
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/Ynw-BQ
Export As:
Word
·
PDF
Hierarchy
Parent Page
Page:
Rule 04. Containers (CTR)
Labels
Global Labels (9)
ctr
review-dms
cwe-805
nptc
review
rule
review-ajb
cwe-119
nptc-aliasing
Recent Changes
Time
Editor
Jul 02, 2025 09:05
Francesco Mariani
View Changes
Jul 02, 2025 09:05
Francesco Mariani
View Changes
Jun 25, 2025 12:37
Jill Britton
View Changes
REM Cost Reform
Mar 05, 2025 08:48
Jill Britton
View Changes
Jan 19, 2023 06:54
Jill Britton
View Page History
Outgoing Links
External Links (8)
https://www.mathworks.com/help/bugfinder/ref/certcctr52cpp.…
cwe.mitre.org/data/definitions/805.html
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
cwe.mitre.org/
cwe.mitre.org/data/definitions/119.html
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
SEI CERT C Coding Standard (4)
Page:
ARR38-C. Guarantee that library functions do not form invalid pointers
Page:
Klocwork
Page:
Polyspace Bug Finder
Home page:
SEI CERT C Coding Standard
SEI CERT C++ Coding Standard (15)
Page:
Klocwork_V
Page:
Parasoft_V
Page:
STR50-CPP. Guarantee that storage for strings has sufficient space for character data and the null terminator
Page:
Polyspace Bug Finder_V
Home page:
SEI CERT C++ Coding Standard
Page:
AA. Bibliography
Page:
CodeSonar_V
Page:
CodeSonar
Page:
Parasoft
Page:
Helix QAC_V
Page:
Astrée
Page:
Security Reviewer - Static Reviewer
Page:
Astrée_V
Page:
Helix QAC
Page:
BB. Definitions
Overview
Content Tools
{"serverDuration": 78, "requestCorrelationId": "dc648b2223e66d71"}