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 12. Error Handling (ERR)
ERR34-C. Detect errors when converting a string to a number
Page Information
Title:
ERR34-C. Detect errors when converting a string to a number
Author:
Admin
Aug 08, 2006
Last Changed by:
David Svoboda
Dec 20, 2023
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/C9cxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C Coding Standard (3)
Page:
MSC24-C. Do not use deprecated or obsolescent functions
Page:
INT05-C. Do not use input functions to convert character data if they cannot handle all possible inputs
Page:
ERR07-C. Prefer functions that support error checking over equivalent functions that don't
SEI CERT C++ Coding Standard (1)
Page:
ERR62-CPP. Detect errors when converting a string to a number
Hierarchy
Parent Page
Page:
Rule 12. Error Handling (ERR)
Labels
Global Labels (10)
fortify
compass/rose
android-applicable
ptc
rose-partial
rule
cwe-676
err
cwe-20
in-cpp
Recent Changes
Time
Editor
Dec 20, 2023 08:52
David Svoboda
View Changes
Dec 19, 2023 08:14
David Svoboda
View Changes
Dec 18, 2023 21:16
Yozo TODA
View Changes
unnecessary " and" replaced with the closing paren.
Dec 18, 2023 09:07
David Svoboda
View Changes
Dec 18, 2023 08:33
Jill Britton
c23 atoi
View Page History
Outgoing Links
External Links (16)
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/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://cwe.mitre.org/data/index.html758.html
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
https://www.securecoding.cert.org/confluence/display/c/AA.+…
cwe.mitre.org/
https://wiki.sei.cmu.edu/confluence/display/cplusplus/INT06…
https://wiki.sei.cmu.edu/confluence/display/c/How+this+Codi…
cwe.mitre.org/data/definitions/676.html
https://www.sonarsource.com/products/codeanalyzers/sonarcfa…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://cwe.mitre.org/data/index.html
https://www.mathworks.com/help/bugfinder/ref/certcruleerr34…
https://wiki.sei.cmu.edu/confluence/display/c/Polyspace+Bug…
SEI CERT C Coding Standard (21)
Page:
Axivion Bauhaus Suite
Page:
Clang
Page:
Klocwork_V
Page:
PC-lint Plus
Page:
Rose
Page:
Parasoft_V
Page:
CodeSonar
Page:
Clang_39_V
Page:
AA. Bibliography
Page:
PC-lint Plus_V
Page:
Axivion Bauhaus Suite_V
Page:
LDRA
Page:
Polyspace Bug Finder_V
Page:
Helix QAC
Home page:
SEI CERT C Coding Standard
Page:
Helix QAC_V
Page:
BB. Definitions
Page:
Klocwork
Page:
LDRA_V
Page:
CodeSonar_V
Page:
Parasoft
Overview
Content Tools
{"serverDuration": 121, "requestCorrelationId": "a6c9f4413ec4fe92"}