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
3 Recommendations
Rec. 07. Characters and Strings (STR)
STR04-C. Use plain char for characters in the basic character set
Page Information
Title:
STR04-C. Use plain char for characters in the basic character set
Author:
Robert Seacord
Sep 25, 2007
Last Changed by:
Jill Britton
Apr 20, 2023
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/3tYxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C Coding Standard (2)
Page:
STR09-C. Don't assume numeric values for expressions with type plain character
Page:
STR34-C. Cast characters to unsigned char before converting to larger integer sizes
Hierarchy
Parent Page
Page:
Rec. 07. Characters and Strings (STR)
Labels
Global Labels (8)
fortify
edg
compass/rose
android-applicable
rose-complete
portability
recommendation
str
Recent Changes
Time
Editor
Apr 20, 2023 06:26
Jill Britton
View Changes
Apr 26, 2021 04:13
Jill Britton
View Changes
Apr 21, 2021 05:23
Jill Britton
View Changes
Apr 20, 2021 06:40
Jill Britton
View Changes
Sep 03, 2019 10:56
Anirban Gangopadhyay
View Page History
Outgoing Links
External Links (5)
https://www.sonarsource.com/products/codeanalyzers/sonarcfa…
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
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…
SEI CERT C++ Coding Standard (2)
Home page:
SEI CERT C++ Coding Standard
Page:
VOID STR04-CPP. Use plain char for characters in the basic character set
SEI CERT C Coding Standard (22)
Page:
Axivion Bauhaus Suite_V
Page:
Parasoft
Page:
RuleChecker_V
Page:
RuleChecker
Page:
ECLAIR
Page:
ECLAIR_V
Page:
BB. Definitions
Page:
LDRA_V
Page:
LDRA
Page:
Helix QAC
Page:
EDG
Page:
Axivion Bauhaus Suite
Page:
Astrée_V
Home page:
SEI CERT C Coding Standard
Page:
Parasoft_V
Page:
CodeSonar
Page:
AA. Bibliography
Page:
MSC00-C. Compile cleanly at high warning levels
Page:
Rose
Page:
Helix QAC_V
Page:
CodeSonar_V
Page:
Astrée
Overview
Content Tools
{"serverDuration": 88, "requestCorrelationId": "209c9f09bbe6c5d8"}