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 06. Memory Management (MEM)
MEM52-CPP. Detect and handle memory allocation errors
Page Information
Title:
MEM52-CPP. Detect and handle memory allocation errors
Author:
Justin Pincar
Aug 13, 2008
Last Changed by:
Jill Britton
Apr 20, 2023
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/u3w-BQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C++ Coding Standard (2)
Page:
ERR57-CPP. Do not leak resources when handling exceptions
Page:
MEM50-CPP. Do not access freed memory
Hierarchy
Parent Page
Page:
Rule 06. Memory Management (MEM)
Labels
Global Labels (13)
cwe-703
cwe-690
review-dms
cwe-391
cwe-754
cwe-252
cwe-476
rose-possible
review
rule
review-ajb
mem
ptc
Recent Changes
Time
Editor
Apr 20, 2023 04:45
Jill Britton
View Changes
Apr 27, 2022 03:24
Jill Britton
View Changes
Apr 26, 2022 12:39
Jill Britton
View Changes
Jun 25, 2021 05:50
Svyatoslav Razmyslov
View Changes
Jun 25, 2021 04:48
Svyatoslav Razmyslov
View Page History
Outgoing Links
External Links (16)
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://pvs-studio.com/en/docs/warnings/v668/
cwe.mitre.org/data/definitions/252.html
cwe.mitre.org/data/definitions/391.html
cwe.mitre.org/data/definitions/754.html
https://www.mathworks.com/help/bugfinder/ref/certcmem52cpp.…
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
cwe.mitre.org/data/definitions/476.html
cwe.mitre.org/data/definitions/703.html
https://wiki.sei.cmu.edu/confluence/display/cplusplus/Polys…
https://wiki.sei.cmu.edu/confluence/display/cplusplus/PVS-S…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
www.kb.cert.org/vuls/id/159523
cwe.mitre.org/
https://pvs-studio.com/en/docs/warnings/v522/
SEI CERT C++ Coding Standard (17)
Page:
Klocwork_V
Page:
ERR50-CPP. Do not abruptly terminate the program
Page:
LDRA
Page:
Ldra_V
Page:
Klocwork
Page:
Rose
Page:
Coverity
Page:
Parasoft
Page:
Helix QAC
Page:
EXP50-CPP. Do not depend on the order of evaluation for side effects
Home page:
SEI CERT C++ Coding Standard
Page:
AA. Bibliography
Page:
Polyspace Bug Finder_V
Page:
Helix QAC_V
Page:
PVS-Studio_V
Page:
Parasoft_V
Page:
BB. Definitions
SEI CERT C Coding Standard (2)
Home page:
SEI CERT C Coding Standard
Page:
ERR33-C. Detect and handle standard library errors
Overview
Content Tools
{"serverDuration": 129, "requestCorrelationId": "8c9c6cf600dccd0d"}