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)
MEM50-CPP. Do not access freed memory
Page Information
Title:
MEM50-CPP. Do not access freed memory
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/onw-BQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C++ Coding Standard (2)
Page:
MEM56-CPP. Do not store an already-owned pointer value in an unrelated smart pointer
Page:
MEM54-CPP. Provide placement new with properly aligned pointers to sufficient storage capacity
Hierarchy
Parent Page
Page:
Rule 06. Memory Management (MEM)
Labels
Global Labels (10)
notes
cwe-416
review-dms
rose-possible
review
rule
cwe-415
review-ajb
mem
ptc
Recent Changes
Time
Editor
Apr 20, 2023 04:44
Jill Britton
View Changes
Apr 27, 2022 09:19
Jill Britton
View Changes
Jun 25, 2021 04:52
Svyatoslav Razmyslov
View Changes
Apr 26, 2021 05:20
Jill Britton
View Changes
Apr 21, 2021 04:19
Jill Britton
View Page History
Outgoing Links
External Links (12)
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
cwe.mitre.org/data/definitions/416.html
https://www.mathworks.com/help/bugfinder/ref/certcmem50cpp.…
https://pvs-studio.com/en/docs/warnings/v774/
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
cwe.mitre.org/
https://pvs-studio.com/en/docs/warnings/v586/
cwe.mitre.org/data/definitions/415.html
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
https://wiki.sei.cmu.edu/confluence/display/cplusplus/PVS-S…
https://wiki.sei.cmu.edu/confluence/display/cplusplus/Polys…
web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2005-003-rec…
SEI CERT C++ Coding Standard (28)
Page:
AA. Bibliography
Page:
Polyspace Bug Finder_V
Page:
EXP53-CPP. Do not read uninitialized memory
Page:
Helix QAC
Home page:
SEI CERT C++ Coding Standard
Page:
Klocwork_V
Page:
PVS-Studio_V
Page:
Helix QAC_V
Page:
BB. Definitions
Page:
Parasoft_V
Page:
EXP54-CPP. Do not access an object outside of its lifetime
Page:
CodeSonar_V
Page:
Coverity_V
Page:
Parasoft
Page:
Axivion Bauhaus Suite_V
Page:
LDRA
Page:
Astrée
Page:
Astrée_V
Page:
Splint
Page:
MEM52-CPP. Detect and handle memory allocation errors
Page:
Clang_V
Page:
Clang
Page:
Axivion Bauhaus Suite
Page:
Splint_V
Page:
Rose
Page:
Klocwork
Page:
Ldra_V
Page:
CodeSonar
SEI CERT C Coding Standard (5)
Page:
MEM30-C. Do not access freed memory
Page:
BB. Definitions
Page:
Coverity
Page:
AA. Bibliography
Home page:
SEI CERT C Coding Standard
Overview
Content Tools
{"serverDuration": 117, "requestCorrelationId": "b45ff69bb0d7ec8e"}