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)
EXP42-C. Do not compare padding data
Page Information
Title:
EXP42-C. Do not compare padding data
Author:
Aaron Ballman
Jun 17, 2013
Last Changed by:
David Svoboda
May 05, 2025
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/PtUxBQ
Export As:
Word
·
PDF
Hierarchy
Parent Page
Page:
Rule 03. Expressions (EXP)
Labels
Global Labels (7)
android-applicable
ptc
rule
comparison
padding
exp
in-cpp
Recent Changes
Time
Editor
May 05, 2025 08:28
Swasti Shrivastava
View Changes
REM Cost Reform
Dec 12, 2024 01:56
Swasti Shrivastava
View Changes
Dec 11, 2024 00:37
Swasti Shrivastava
View Changes
Nov 01, 2024 13:29
Caden Milne
View Changes
Updated references from C11->C23
Oct 10, 2024 13:06
Swasti Shrivastava
View Page History
Outgoing Links
External Links (16)
https://wiki.sei.cmu.edu/confluence/display/c/AA.+Bibliogra…
https://wiki.sei.cmu.edu/confluence/display/c/How+this+Codi…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/display/cplusplus/EXP62…
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
https://taas.trust-in-soft.com/tsnippet/t/1a95e24f
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/display/c/PVS-Studio
c-faq.com/struct/compare.html
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://www.mathworks.com/help/bugfinder/ref/certcruleexp42…
https://wiki.sei.cmu.edu/confluence/display/c/Polyspace+Bug…
c-faq.com/struct/padding.html
msdn.microsoft.com/en-us/library/2e70t5y1.aspx
https://pvs-studio.com/en/docs/warnings/v1103/
SEI CERT C Coding Standard (27)
Page:
AA. Bibliography
Page:
CodeSonar
Page:
Helix QAC
Page:
Helix QAC_V
Page:
Cppcheck Premium
Page:
PC-lint Plus
Page:
TrustInSoft Analyzer
Page:
PC-lint Plus_V
Page:
TrustInSoft Analyzer_V
Page:
Polyspace Bug Finder_V
Page:
Axivion Bauhaus Suite
Page:
PVS-Studio_V
Page:
Klocwork_V
Page:
Parasoft_V
Page:
Cppcheck Premium_V
Page:
BB. Definitions
Page:
RuleChecker
Page:
CodeSonar_V
Home page:
SEI CERT C Coding Standard
Page:
Astrée_V
Page:
Astrée
Page:
RuleChecker_V
Page:
LDRA
Page:
Axivion Bauhaus Suite_V
Page:
LDRA_V
Page:
Klocwork
Page:
Parasoft
Overview
Content Tools
{"serverDuration": 68, "requestCorrelationId": "f508641dbadc55fa"}