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 03. Expressions (EXP)
EXP34-C. Do not dereference null pointers
Page Information
Title:
EXP34-C. Do not dereference null pointers
Author:
Jeffrey Gennari
Oct 27, 2006
Last Changed by:
David Svoboda
Nov 04, 2024
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/QdcxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT Oracle Coding Standard for Java (1)
Page:
EXP01-J. Do not use a null in a case where an object is required
SEI CERT C Coding Standard (2)
Page:
MEM10-C. Define and use a pointer validation function
Page:
CC. Undefined Behavior
SEI CERT C++ Coding Standard (4)
Page:
OOP51-CPP. Do not slice derived objects
Page:
OOP55-CPP. Do not use pointer-to-member operators to access nonexistent members
Page:
MEM55-CPP. Honor replacement dynamic storage management requirements
Page:
STR51-CPP. Do not attempt to create a std::string from a null pointer
Hierarchy
Parent Page
Page:
Rule 03. Expressions (EXP)
Labels
Global Labels (15)
ldra
fortify
compass/rose
splint
coverity
cwe-476
android-applicable
ptc
sidebar
memory-management
rose-complete
rule
exp
klocwork
in-cpp
Recent Changes
Time
Editor
Nov 04, 2024 09:22
David Svoboda
View Changes
Oct 09, 2023 14:28
Jill Britton
View Changes
Apr 20, 2023 05:09
Jill Britton
View Changes
Jan 18, 2023 11:04
Jill Britton
View Changes
Apr 27, 2022 06:12
Jill Britton
View Page History
Outgoing Links
External Links (23)
cwe.mitre.org/data/definitions/476.html
https://wiki.sei.cmu.edu/confluence/display/java/EXP01-J.+D…
https://www.mathworks.com/help/bugfinder/ref/certcruleexp34…
https://www.sonarsource.com/products/codeanalyzers/sonarcfa…
BB. Definitions#lvalue
https://pvs-studio.com/en/docs/warnings/v595/
https://pvs-studio.com/en/docs/warnings/v1004/
https://wiki.sei.cmu.edu/confluence/display/c/AA.+Bibliogra…
https://pvs-studio.com/en/docs/warnings/v522/
https://pvs-studio.com/en/docs/warnings/v664/
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://pvs-studio.com/en/docs/warnings/v713/
https://cwe.mitre.org/data/index.html
https://taas.trust-in-soft.com/tsnippet/t/78360285
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=…
https://wiki.sei.cmu.edu/confluence/display/c/How+this+Codi…
www.theregister.co.uk/2009/07/17/linux_kernel_exploit/
https://wiki.sei.cmu.edu/confluence/display/c/PVS-Studio
https://wiki.sei.cmu.edu/confluence/display/c/AA.+Bibliogra…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/display/java/SEI+CERT+O…
SEI CERT C Coding Standard (32)
Page:
Astrée_V
Page:
LDRA
Page:
Klocwork_V
Page:
Klocwork
Page:
Polyspace Bug Finder_V
Page:
Cppcheck
Page:
CodeSonar
Page:
Axivion Bauhaus Suite
Page:
Splint
Page:
Axivion Bauhaus Suite_V
Page:
PC-lint Plus_V
Page:
BB. Definitions
Page:
Helix QAC_V
Page:
Polyspace Bug Finder
Page:
Coverity
Page:
TrustInSoft Analyzer
Page:
CodeSonar_V
Page:
ERR33-C. Detect and handle standard library errors
Page:
PC-lint Plus
Home page:
SEI CERT C Coding Standard
Page:
Coverity_V
Page:
Rose
Page:
AA. Bibliography
Page:
TrustInSoft Analyzer_V
Page:
LDRA_V
Page:
Helix QAC
Page:
Astrée
Page:
Parasoft
Page:
Splint_V
Page:
Parasoft_V
Page:
Cppcheck_V
Page:
PVS-Studio_V
Overview
Content Tools
{"serverDuration": 127, "requestCorrelationId": "2dc9acb49463e9d0"}