Skip to content
Skip to breadcrumbs
Skip to header menu
Skip to action menu
Skip to quick search
Confluence
Spaces
Quick Search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
Sign up
SEI CERT C Coding Standard
Pages
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
Dashboard
…
SEI CERT C Coding Standard
2 Rules
Rule 04. Integers (INT)
INT30-C. Ensure that unsigned integer operations do not wrap
Page History
Version
Published
Changed By
Comment
Actions
CURRENT
(v. 159)
Aug 30, 2019 10:49
Anirban Gangopadhyay
v. 158
Aug 07, 2019 11:11
Jakub Zwolakowski
Added TrustInSoft Analyzer to the Automated Detection table.
v. 157
Aug 07, 2019 11:11
Jakub Zwolakowski
v. 156
Dec 07, 2018 06:19
Jill Britton
v. 155
Oct 16, 2018 04:40
Joerg Herter
v. 154
Aug 06, 2018 04:12
Michal Rozenau
Parasoft C/C++test 10.4
v. 153
Jul 24, 2018 09:27
Anirban Gangopadhyay
v. 152
Mar 27, 2018 10:05
Svyatoslav Razmyslov
v. 151
Mar 12, 2018 05:05
Svyatoslav Razmyslov
v. 150
Mar 12, 2018 03:47
Svyatoslav Razmyslov
v. 149
Feb 13, 2018 15:57
Arthur Hicken
added parasoft
v. 148
Jan 12, 2018 19:15
Lori Flynn
v. 147
Nov 16, 2017 14:40
Will Snavely
v. 146
Sep 28, 2017 04:00
Jill Britton
v. 145
Sep 21, 2017 07:59
Joerg Herter
v. 144
Aug 14, 2017 03:09
Nelson Tam
v. 143
Feb 23, 2017 12:11
Lisa Robertson
v. 142
Feb 22, 2017 15:28
Lisa Robertson
v. 141
Feb 17, 2017 10:16
Lisa Robertson
v. 140
Jan 27, 2017 12:49
Will Snavely
v. 139
Jan 05, 2017 19:49
Will Snavely
v. 138
Jan 05, 2017 11:58
Will Snavely
v. 137
Dec 01, 2016 08:11
Sandy Shrum
minor editorial changes
v. 136
Jul 28, 2016 09:35
Sandy Shrum
v. 135
May 13, 2016 11:06
Ram Cherukuri
v. 134
May 04, 2016 12:09
Ram Cherukuri
v. 133
Apr 21, 2016 09:52
Barbara White
v. 132
Feb 04, 2016 17:10
Will Snavely
v. 131
Feb 02, 2016 11:58
Barbara White
v. 130
Jan 19, 2016 13:44
Sandy Shrum
v. 129
Oct 01, 2015 06:04
Carol J. Lallier
v. 128
Aug 03, 2015 03:32
Liz Whiting
v. 127
Mar 31, 2015 23:40
Will Snavely
v. 126
Mar 30, 2015 18:10
Will Snavely
v. 125
Mar 30, 2015 16:33
Will Snavely
v. 124
Mar 11, 2015 10:01
David Svoboda
v. 123
Mar 10, 2015 18:09
Robert Seacord
v. 122
Mar 10, 2015 17:52
David Svoboda
v. 121
Mar 10, 2015 17:11
David Svoboda
v. 120
Mar 10, 2015 17:03
David Svoboda
v. 119
Mar 04, 2015 09:14
Barbara White
v. 118
Sep 23, 2014 11:05
David Svoboda
v. 117
Aug 22, 2014 10:48
Robert Seacord (Manager)
changed overflow to wrap
v. 116
Aug 22, 2014 10:13
Fred Long
Added information about the LZO vulnerability
v. 115
Aug 04, 2014 17:39
Jill Britton
v. 114
Jul 30, 2014 15:53
Amy Gale
Added CodeSonar entry to Automated Detection section
v. 113
Apr 15, 2014 07:57
Carol J. Lallier
v. 112
Apr 10, 2014 16:02
Carol J. Lallier
v. 111
Dec 06, 2013 11:41
Justin Loo
v. 110
Nov 21, 2013 11:13
David Svoboda
v. 109
Nov 21, 2013 11:09
David Svoboda
reverted normative text to include all wrapping (mod exceptions)
v. 108
Nov 21, 2013 10:51
David Svoboda
v. 107
Nov 21, 2013 10:47
David Svoboda
condensed atomic NCCE/CS into intro paragraph
v. 106
Nov 17, 2013 11:58
Robert Seacord (Manager)
minor edits
v. 105
Nov 17, 2013 10:02
Robert Seacord (Manager)
into material and addition
v. 104
Nov 10, 2013 08:43
Robert Seacord (Manager)
made left shift wrapping an explicit exception
v. 103
Nov 07, 2013 16:29
David Svoboda
v. 102
Nov 07, 2013 16:27
David Svoboda
added << note to refer to INT34-C
v. 101
Oct 11, 2013 14:08
Aaron Ballman
Migrated to Confluence 5.3
v. 100
Oct 11, 2013 14:08
Aaron Ballman
v. 99
Oct 11, 2013 13:37
Carol J. Lallier
v. 98
Oct 11, 2013 11:42
Aaron Ballman
Edits; reviewed
v. 97
Oct 08, 2013 10:59
Carol J. Lallier
v. 96
Oct 08, 2013 09:32
Carol J. Lallier
v. 95
Oct 08, 2013 09:20
Carol J. Lallier
v. 94
Oct 04, 2013 12:22
David Svoboda
v. 93
Sep 30, 2013 08:03
Carol J. Lallier
v. 92
Sep 27, 2013 18:00
John Benito
changes to examples to match new coding guideline, except for the Mozilla examples
v. 91
Sep 27, 2013 14:02
Carol J. Lallier
v. 90
Sep 27, 2013 13:49
Carol J. Lallier
v. 89
Sep 26, 2013 22:39
Carol J. Lallier
v. 88
Sep 19, 2013 13:28
Carol J. Lallier
v. 87
Sep 19, 2013 13:22
Carol J. Lallier
v. 86
Sep 19, 2013 13:20
Carol J. Lallier
v. 85
Sep 18, 2013 18:13
John Benito
v. 84
Jul 18, 2013 09:19
John Benito
made consistent with the rules DCL02 and DCL04
v. 83
Jun 24, 2013 07:50
Carol J. Lallier
v. 82
Jun 24, 2013 07:49
Carol J. Lallier
v. 81
Jun 24, 2013 07:47
Carol J. Lallier
v. 80
Apr 30, 2013 14:20
David Svoboda
v. 79
Mar 12, 2013 10:25
Carol J. Lallier
v. 78
Mar 12, 2013 10:24
Carol J. Lallier
v. 77
Mar 10, 2013 13:44
Carol J. Lallier
v. 76
Mar 09, 2013 14:54
Carol J. Lallier
v. 75
Mar 08, 2013 15:32
Sujay Jain
v. 74
Mar 08, 2013 14:54
John Benito
v. 73
Jan 22, 2013 09:04
Carol J. Lallier
v. 72
Jan 22, 2013 09:03
Carol J. Lallier
v. 71
Dec 20, 2012 08:49
Jill Britton
v. 70
Nov 08, 2012 17:35
Pranjal Jumde
v. 69
Nov 08, 2012 10:18
Jill Britton
v. 68
Jun 10, 2012 23:30
Carol J. Lallier
v. 67
Jun 01, 2012 11:00
Carol J. Lallier
v. 66
Jun 01, 2012 10:58
Carol J. Lallier
v. 65
May 26, 2012 07:42
Robert Seacord
v. 64
May 24, 2012 11:20
Eric Wong
v. 63
May 08, 2012 13:47
Astha Singhal
v. 62
Jul 15, 2011 14:14
Shannon Haas
Migrated to Confluence 4.0
v. 61
Jul 15, 2011 14:14
Shannon Haas
v. 60
Nov 18, 2010 10:47
Melanie Thompson
v. 59
Sep 08, 2010 14:09
Tim Wilson
v. 58
Jul 20, 2010 15:34
Melanie Thompson
v. 57
Jul 06, 2010 16:23
Melanie Thompson
v. 56
Jun 22, 2010 15:29
David Svoboda
Edited by NavBot (vkp) v1.0
v. 55
Jun 22, 2010 15:08
David Svoboda
fixed post-condition test for subtraction (again)
v. 54
Feb 08, 2010 11:22
Robert Seacord (Manager)
fixed post-condition test for subtraction (again)
v. 53
Feb 06, 2010 03:37
Robert Seacord
fixed post-condition test for subtraction (again)
v. 52
Jan 20, 2010 08:46
Robert Seacord
fixed subtraction post condition test
v. 51
Dec 03, 2009 12:06
David Svoboda
v. 50
Dec 03, 2009 12:02
David Svoboda
v. 49
Aug 24, 2009 20:18
Robert Seacord (Manager)
v. 48
Jul 23, 2009 12:39
Alex Volkovitsky
v. 47
Jul 15, 2009 13:15
Robert Seacord (Manager)
modulo behavior in unsigned left shift is now permittted
v. 46
Jul 01, 2009 09:57
Robert Seacord
added post condition tests for addition and subtraction
v. 45
Jul 01, 2009 09:34
Robert Seacord
v. 44
Jun 23, 2009 15:27
Ankur Goyal
added a related vulnerability: CVE-2009-1385
v. 43
Apr 23, 2009 13:20
Justin Pincar
Edited by NavBot (jp)
v. 42
Dec 25, 2008 21:43
Masaki Kubo
v. 41
Dec 25, 2008 21:40
Masaki Kubo
v. 40
Dec 25, 2008 21:11
Masaki Kubo
v. 39
Nov 21, 2008 00:49
Masaki Kubo
v. 38
Nov 21, 2008 00:44
Masaki Kubo
v. 37
Nov 20, 2008 20:44
Masaki Kubo
v. 36
Nov 19, 2008 13:49
Justin Pincar
Edited by NavBot (jp)
v. 35
Oct 20, 2008 12:43
Gina DeCola
v. 34
Aug 13, 2008 09:53
Justin Pincar
v. 33
Aug 06, 2008 15:06
David Svoboda
v. 32
Aug 06, 2008 15:04
David Svoboda
added Rose checker algorithm
v. 31
Aug 06, 2008 15:00
David Svoboda
added exception for ops that require no validation, such as adding 0.
v. 30
Jul 29, 2008 12:26
Gina DeCola
v. 29
Jul 24, 2008 17:29
Steve Christey
added CWE refs
v. 28
Jul 16, 2008 11:17
Justin Pincar
Edited by sciSpider $version (sch jbop) (X_X)@==(Q_Q)@
v. 27
Jul 16, 2008 11:17
Justin Pincar
v. 26
Jul 16, 2008 11:17
Justin Pincar
v. 25
Jun 20, 2008 20:00
Robert Seacord (Manager)
v. 24
Jun 11, 2008 14:50
Alex Volkovitsky
v. 23
Jun 10, 2008 15:25
Robert Seacord
v. 22
Jun 10, 2008 15:07
Robert Seacord
v. 21
Jun 10, 2008 14:52
Ed Desautels
v. 20
Jun 10, 2008 14:51
Ed Desautels
v. 19
Jun 09, 2008 10:02
David Svoboda
Edited by sciSpider v2.1 (sch jbop) (X_X)@==(Q_Q)@
v. 18
Jun 09, 2008 10:01
Justin Pincar
Edited by sciSpider v2.1 (sch jbop) (X_X)@==(Q_Q)@
v. 17
Jun 06, 2008 13:22
Justin Pincar
v. 16
Jun 06, 2008 13:21
Justin Pincar
v. 15
Jun 06, 2008 11:17
Alex Volkovitsky
v. 14
Jun 04, 2008 13:15
Alex Volkovitsky
v. 13
Jun 04, 2008 09:30
Shaun Hedrick
v. 12
Jun 03, 2008 15:28
Shaun Hedrick
v. 11
May 30, 2008 13:15
David Svoboda
v. 10
May 30, 2008 13:02
David Svoboda
v. 9
May 30, 2008 12:58
David Svoboda
v. 8
May 25, 2008 09:27
Robert Seacord
v. 7
May 20, 2008 14:40
Alex Volkovitsky
v. 6
May 14, 2008 17:11
Robert Seacord
v. 5
May 12, 2008 13:33
Pamela Curtis
v. 4
May 11, 2008 21:36
Robert Seacord (Manager)
v. 3
May 11, 2008 21:32
Robert Seacord (Manager)
v. 2
Apr 24, 2008 08:03
Robert Seacord (Manager)
v. 1
Apr 24, 2008 07:47
Robert Seacord (Manager)
Return to Page Information
Overview
Content Tools
{"serverDuration": 108, "requestCorrelationId": "6ce7176f47294313"}