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 12. Error Handling (ERR)
ERR34-C. Detect errors when converting a string to a number
Page History
Version
Published
Changed By
Comment
Actions
CURRENT
(v. 136)
Sep 03, 2019 16:34
Anirban Gangopadhyay
v. 135
Aug 30, 2019 15:47
Anirban Gangopadhyay
v. 134
Dec 17, 2018 09:27
Jill Britton
v. 133
Sep 13, 2018 08:29
Aleksandr Karbyshev
v. 132
Sep 13, 2018 08:28
Aleksandr Karbyshev
v. 131
Aug 06, 2018 04:59
Michal Rozenau
Parasoft C/C++test 10.4
v. 130
Aug 01, 2018 11:07
Anirban Gangopadhyay
v. 129
Mar 12, 2018 17:46
Arthur Hicken
updated font
v. 128
Mar 08, 2018 15:47
Anirban Gangopadhyay
Added Polyspace Bug Finder
v. 127
Feb 12, 2018 21:54
Will Snavely
v. 126
Jan 12, 2018 19:15
Lori Flynn
v. 125
Nov 16, 2017 14:40
Will Snavely
v. 124
Sep 27, 2017 04:46
Jill Britton
v. 123
Aug 10, 2017 09:06
Jill Britton
v. 122
Aug 01, 2017 15:01
G. Ann Campbell
v. 121
Mar 23, 2017 17:31
Robert Schiela
Removed leading "-" in cert-err34-c Clang checker.
v. 120
Feb 22, 2017 15:09
Lisa Robertson
v. 119
Feb 17, 2017 08:57
Lisa Robertson
v. 118
Jan 27, 2017 11:25
Will Snavely
v. 117
Jan 05, 2017 14:13
Will Snavely
v. 116
May 20, 2016 13:54
Amy Gale
v. 115
Apr 29, 2016 17:19
Aaron Ballman
Added clang AD entry
v. 114
Apr 26, 2016 13:19
David Svoboda
v. 113
Apr 26, 2016 13:19
David Svoboda
added strtomax & strtoumax
v. 112
Apr 25, 2016 16:40
Aaron Ballman
Minor word smithing
v. 111
Apr 25, 2016 16:25
David Svoboda
reduced scope of rule
v. 110
Apr 25, 2016 14:29
Aaron Ballman
Added a citation
v. 109
Apr 25, 2016 14:27
David Svoboda
v. 108
Apr 25, 2016 14:22
David Svoboda
kicked out spurious CWEs
v. 107
Apr 25, 2016 14:18
David Svoboda
v. 106
Apr 25, 2016 14:12
David Svoboda
likelihood = unlikely
v. 105
Apr 25, 2016 13:45
David Svoboda
v. 104
Apr 25, 2016 13:26
David Svoboda
s/shouldmust/;
v. 103
Apr 25, 2016 11:34
Aaron Ballman
Formatting; NFC
v. 102
Apr 25, 2016 10:45
Aaron Ballman
Corrected code examples, other light editing
v. 101
Apr 21, 2016 16:18
David Svoboda
v. 100
Apr 21, 2016 16:16
David Svoboda
intro
v. 99
Apr 21, 2016 15:59
David Svoboda
v. 98
Oct 26, 2015 19:26
Arthur Hicken
added parasoft
v. 97
Oct 26, 2015 13:25
Sandy Shrum
v. 96
Mar 31, 2015 23:42
Will Snavely
v. 95
Mar 30, 2015 16:28
Will Snavely
v. 94
Aug 04, 2014 17:53
Jill Britton
v. 93
Aug 01, 2014 16:07
Amy Gale
Added CodeSonar entry to Automated Detection section
v. 92
Oct 11, 2013 13:17
Carol J. Lallier
Migrated to Confluence 5.3
v. 91
Oct 11, 2013 13:17
Carol J. Lallier
v. 90
Oct 06, 2013 16:09
Carol J. Lallier
v. 89
Sep 26, 2013 15:13
Carol J. Lallier
v. 88
Jul 18, 2013 11:03
John Benito
str to c_str
v. 87
Jun 24, 2013 07:22
Carol J. Lallier
v. 86
Jan 20, 2013 18:23
Carol J. Lallier
v. 85
Jan 15, 2013 09:01
Carol J. Lallier
v. 84
Nov 16, 2012 11:25
Jill Britton
v. 83
Nov 08, 2012 17:34
Pranjal Jumde
v. 82
Nov 08, 2012 10:02
Jill Britton
v. 81
Jun 10, 2012 23:14
Carol J. Lallier
v. 80
May 31, 2012 20:40
Carol J. Lallier
v. 79
May 31, 2012 18:10
Carol J. Lallier
v. 78
May 08, 2012 13:46
Astha Singhal
v. 77
Feb 22, 2012 10:49
Astha Singhal
Migrated to Confluence 4.0
v. 76
Feb 22, 2012 10:49
Astha Singhal
v. 75
Jul 15, 2011 13:59
Shannon Haas
v. 74
Jul 08, 2011 09:31
Andrew Keeton
String -> NTBS (Reverted from v. 72)
v. 73
Jul 07, 2011 16:19
Andrew Keeton
NTBS -> string
v. 72
May 07, 2011 17:32
Martin Sebor
Updated/corrected compiant solution.
v. 71
May 03, 2011 07:47
Robert Seacord
v. 70
Jul 20, 2010 13:16
Melanie Thompson
v. 69
Jul 06, 2010 14:36
Melanie Thompson
v. 68
Jun 22, 2010 15:29
David Svoboda
Edited by NavBot (vkp) v1.0
v. 67
Jun 22, 2010 15:08
David Svoboda
Edited by NavBot (jp)
v. 66
Feb 08, 2010 11:21
Robert Seacord (Manager)
Edited by NavBot (jp)
v. 65
Nov 19, 2008 13:47
Justin Pincar
Edited by NavBot (jp)
v. 64
Oct 20, 2008 12:21
Gina DeCola
v. 63
Oct 03, 2008 10:48
David Svoboda
v. 62
Oct 03, 2008 10:48
David Svoboda
v. 61
Oct 02, 2008 15:50
David Svoboda
v. 60
Sep 05, 2008 03:46
Robert Seacord
v. 59
Sep 04, 2008 05:36
Geoff Clare
Fixed strtol() error handling (the code used to treat a successful return of LONG_MIN or LONG_MAX as an error)
v. 58
Aug 13, 2008 09:53
Justin Pincar
v. 57
Jul 29, 2008 09:55
Gina DeCola
v. 56
Jul 25, 2008 13:18
Robert Seacord
v. 55
Jul 24, 2008 17:17
Steve Christey
added CWE refs
v. 54
Jul 16, 2008 11:38
Justin Pincar
Edited by sciSpider v2.4 (sch jbop) (X_X)@==(Q_Q)@
v. 53
Jul 16, 2008 11:17
Justin Pincar
Edited by sciSpider $version (sch jbop) (X_X)@==(Q_Q)@
v. 52
Jul 16, 2008 11:17
Justin Pincar
FIO04 compliance
v. 51
Jul 01, 2008 14:04
Alex Volkovitsky
FIO04 compliance
v. 50
Jun 19, 2008 01:41
Robert Seacord
v. 49
Jun 18, 2008 14:31
Alex Volkovitsky
v. 48
Jun 18, 2008 14:04
David Svoboda
Added rose checker algorithm
v. 47
Jun 17, 2008 10:25
Justin Pincar
v. 46
Jun 17, 2008 10:22
Justin Pincar
v. 45
Jun 10, 2008 13:36
Ed Desautels
v. 44
Jun 09, 2008 10:00
Justin Pincar
Edited by sciSpider v2.1 (sch jbop) (X_X)@==(Q_Q)@
v. 43
Jun 06, 2008 13:15
Justin Pincar
v. 42
May 28, 2008 13:57
Justin Pincar
Edited by sciSpider (sch jbop) (X_X)@==(Q_Q)@
v. 41
May 18, 2008 08:06
Robert Seacord
v. 40
May 18, 2008 08:04
Robert Seacord
v. 39
May 08, 2008 11:25
Robert Seacord (Manager)
v. 38
May 06, 2008 09:40
Alex Volkovitsky
v. 37
May 06, 2008 09:32
Alex Volkovitsky
v. 36
May 06, 2008 09:24
Alex Volkovitsky
v. 35
Apr 07, 2008 12:49
cjohns
v. 34
Apr 02, 2008 16:03
Pamela Curtis
v. 33
Mar 14, 2008 00:07
David Keaton
v. 32
Feb 08, 2008 20:25
David Keaton
v. 31
Jan 30, 2008 14:20
Lee Mancuso
v. 30
Jan 04, 2008 11:02
Pamela Curtis
v. 29
Dec 20, 2007 10:59
Robert Seacord
v. 28
Dec 20, 2007 10:18
Robert Seacord
v. 27
Dec 20, 2007 10:16
Robert Seacord
v. 26
Dec 07, 2007 15:26
Chad Dougherty
v. 25
Oct 23, 2007 15:52
Justin Pincar
Edited by sciSpider (sch jbop) (X_X)@==(Q_Q)@
v. 24
Jul 11, 2007 14:56
Justin Pincar
v. 23
Jun 22, 2007 13:49
Justin Pincar
Edited by sciSpider (sch jbop) (X_X)@==(Q_Q)@
v. 22
Mar 16, 2007 15:05
Osona Steave
v. 21
Mar 16, 2007 10:52
Osona Steave
v. 20
Mar 12, 2007 10:30
Pamela Curtis
v. 19
Mar 01, 2007 10:06
Robert Seacord
v. 18
Feb 09, 2007 14:25
Osona Steave
v. 17
Nov 14, 2006 16:59
Pamela Curtis
v. 16
Oct 11, 2006 16:26
Fred Long
v. 15
Aug 29, 2006 17:34
Pamela Curtis
v. 14
Aug 11, 2006 11:41
Admin
v. 13
Aug 11, 2006 11:02
Admin
v. 12
Aug 10, 2006 13:48
Fred Long
v. 11
Aug 10, 2006 10:56
Admin
v. 10
Aug 10, 2006 10:39
Admin
v. 9
Aug 09, 2006 14:54
Admin
v. 8
Aug 09, 2006 14:53
Admin
v. 7
Aug 09, 2006 13:18
Admin
v. 6
Aug 09, 2006 11:23
Admin
v. 5
Aug 08, 2006 17:32
Admin
v. 4
Aug 08, 2006 16:42
Admin
v. 3
Aug 08, 2006 16:35
Admin
v. 2
Aug 08, 2006 16:30
Admin
v. 1
Aug 08, 2006 16:15
Admin
Return to Page Information
Overview
Content Tools
{"serverDuration": 83, "requestCorrelationId": "0ebf0d382ac494b9"}