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
3 Recommendations
Rec. 08. Memory Management (MEM)
MEM04-C. Beware of zero-length allocations
Page Information
Title:
MEM04-C. Beware of zero-length allocations
Author:
Jeffrey Gennari
Jun 23, 2006
Last Changed by:
Anirban Gangopadhyay
Sep 03, 2019
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/29UxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C Coding Standard (6)
Page:
CC. Undefined Behavior
Page:
ERR33-C. Detect and handle standard library errors
Page:
MEM30-C. Do not access freed memory
Page:
MEM35-C. Allocate sufficient memory for an object
Page:
INT04-C. Enforce limits on integer values originating from tainted sources
Page:
DD. Unspecified Behavior
Hierarchy
Parent Page
Page:
Rec. 08. Memory Management (MEM)
Labels
Global Labels (5)
compass/rose
android-applicable
rose-partial
recommendation
mem
Recent Changes
Time
Editor
Sep 03, 2019 12:17
Anirban Gangopadhyay
View Changes
Aug 30, 2019 17:51
Anirban Gangopadhyay
View Changes
Dec 06, 2018 09:15
Michal Rozenau
View Changes
Parasoft C/C++test 10.4.1 update
Aug 09, 2018 16:47
Anirban Gangopadhyay
View Changes
Aug 09, 2018 16:46
Anirban Gangopadhyay
View Page History
Outgoing Links
External Links (9)
seclists.org/dailydave/2010/q2/27
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://www.securecoding.cert.org/confluence/display/seccod…
cwe.mitre.org/
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
https://www.mathworks.com/help/bugfinder/ref/certcrec.mem04…
cwe.mitre.org/data/definitions/687.html
SEI CERT C Coding Standard (13)
Page:
CodeSonar
Page:
Parasoft
Page:
CodeSonar_V
Page:
AA. Bibliography
Page:
Polyspace Bug Finder
Page:
Polyspace Bug Finder_V
Page:
Astrée
Home page:
SEI CERT C Coding Standard
Page:
Astrée_V
Page:
DD. Unspecified Behavior
Page:
Parasoft_V
Page:
Rose
Page:
BB. Definitions
SEI CERT C++ Coding Standard (2)
Page:
VOID MEM04-CPP. Do not perform zero-length allocations
Home page:
SEI CERT C++ Coding Standard
Overview
Content Tools
{"serverDuration": 80, "requestCorrelationId": "b00ffe595a454d31"}