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. 48. Miscellaneous (MSC)
Page Information
Title:
Rec. 48. Miscellaneous (MSC)
Author:
Sandy Shrum
Mar 05, 2015
Last Changed by:
David Svoboda
Mar 15, 2022
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/ZdUxBQ
Export As:
Word
·
PDF
Hierarchy
Parent Page
Page:
3 Recommendations
Children (22)
Page:
MSC00-C. Compile cleanly at high warning levels
Page:
MSC01-C. Strive for logical completeness
Page:
MSC04-C. Use comments consistently and in a readable fashion
Page:
MSC05-C. Do not manipulate time_t typed values directly
Page:
MSC06-C. Beware of compiler optimizations
Page:
MSC07-C. Detect and remove dead code
Page:
MSC09-C. Character encoding: Use subset of ASCII for safety
Page:
MSC10-C. Character encoding: UTF8-related issues
Page:
MSC11-C. Incorporate diagnostic tests using assertions
Page:
MSC12-C. Detect and remove code that has no effect or is never executed
Show all...
Page:
MSC13-C. Detect and remove unused values
Page:
MSC14-C. Do not introduce unnecessary platform dependencies
Page:
MSC15-C. Do not depend on undefined behavior
Page:
MSC17-C. Finish every set of statements associated with a case label with a break statement
Page:
MSC18-C. Be careful while handling sensitive data, such as passwords, in program code
Page:
MSC19-C. For functions that return an array, prefer returning an empty array over a null value
Page:
MSC20-C. Do not use a switch statement to transfer control into a complex block
Page:
MSC21-C. Use robust loop termination conditions
Page:
MSC22-C. Use the setjmp(), longjmp() facility securely
Page:
MSC23-C. Beware of vendor-specific library and language differences
Page:
MSC24-C. Do not use deprecated or obsolescent functions
Page:
MSC25-C. Do not use insecure or weak cryptographic algorithms
Hide...
Labels
Global Labels (4)
sidebar
recommendation-list
msc
section
Recent Changes
Time
Editor
Mar 15, 2022 09:44
David Svoboda
View Changes
Dec 03, 2018 15:24
Derek Leung
View Changes
Nov 16, 2017 14:41
Will Snavely
View Changes
Nov 16, 2017 14:16
Will Snavely
View Changes
Feb 26, 2017 17:30
Will Snavely
View Page History
Outgoing Links
External Links (5)
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://confluence/label/seccode/msc
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://confluence/label/seccode/recommendation
SEI CERT C Coding Standard (1)
Home page:
SEI CERT C Coding Standard
Overview
Content Tools
{"serverDuration": 58, "requestCorrelationId": "f2a4f5aea7017de6"}