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 10. Environment (ENV)
ENV34-C. Do not store pointers returned by certain functions
Page Information
Title:
ENV34-C. Do not store pointers returned by certain functions
Author:
Robert Seacord
Apr 16, 2007
Last Changed by:
Caden Milne
Nov 08, 2024
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/8tYxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C Coding Standard (2)
Page:
ENV31-C. Do not rely on an environment pointer following an operation that may invalidate it
Page:
CON33-C. Avoid race conditions when using library functions
Hierarchy
Parent Page
Page:
Rule 10. Environment (ENV)
Labels
Global Labels (11)
review-dms
compass/rose
nptc
android-applicable
env
review-rcs
rose-complete
rule
review-ajb
nptc-aliasing
in-cpp
Recent Changes
Time
Editor
Nov 08, 2024 14:57
Caden Milne
View Changes
Updated references from C11->C23
Sep 14, 2024 08:35
Swasti Shrivastava
View Changes
Apr 20, 2023 05:29
Jill Britton
View Changes
Jan 18, 2023 12:08
Jill Britton
View Changes
Nov 30, 2021 12:02
Jill Britton
View Page History
Outgoing Links
External Links (13)
https://www.mathworks.com/help/bugfinder/ref/certcruleenv34…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
msdn.microsoft.com/en-us/library/ms175774.aspx
https://wiki.sei.cmu.edu/confluence/display/c/Cppcheck+Prem…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/display/c/SEI+CERT+C+Co…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
https://wiki.sei.cmu.edu/confluence/display/c/AA.+Bibliogra…
https://wiki.sei.cmu.edu/confluence/display/c/Polyspace+Bug…
https://wiki.sei.cmu.edu/confluence/display/c/How+this+Codi…
https://wiki.sei.cmu.edu/confluence/display/c/AA.+Bibliogra…
https://wiki.sei.cmu.edu/confluence/display/SD/ENV00-C.+Do+…
SEI CERT C Coding Standard (13)
Page:
Polyspace Bug Finder_V
Page:
Parasoft_V
Page:
Klocwork_V
Page:
AA. Bibliography
Page:
Helix QAC_V
Page:
Rose
Page:
LDRA_V
Page:
Parasoft
Page:
Klocwork
Page:
LDRA
Page:
BB. Definitions
Page:
Helix QAC
Home page:
SEI CERT C Coding Standard
Overview
Content Tools
{"serverDuration": 76, "requestCorrelationId": "b3f78ec167912ea2"}