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. 12. Error Handling (ERR)
ERR04-C. Choose an appropriate termination strategy
Page Information
Title:
ERR04-C. Choose an appropriate termination strategy
Author:
David Svoboda
May 13, 2008
Last Changed by:
Francesco Mariani
Aug 06, 2025
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/7tUxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT Oracle Coding Standard for Java (1)
Page:
FIO14-J. Perform proper cleanup at program termination
SEI CERT C Coding Standard (2)
Page:
CC. Undefined Behavior
Page:
ERR06-C. Understand the termination behavior of assert() and abort()
Hierarchy
Parent Page
Page:
Rec. 12. Error Handling (ERR)
Labels
Global Labels (4)
android-applicable
unenforceable
recommendation
err
Recent Changes
Time
Editor
Aug 06, 2025 13:36
Francesco Mariani
View Changes
Aug 06, 2025 13:36
Francesco Mariani
View Changes
Aug 06, 2025 13:35
Francesco Mariani
View Changes
May 20, 2025 08:35
Caden Milne
View Changes
REM Cost Reform
Nov 25, 2024 13:11
Caden Milne
Updated UB references from C11->C23
View Page History
Outgoing Links
External Links (7)
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
cwe.mitre.org/
cwe.mitre.org/data/definitions/705.html
www.opengroup.org/onlinepubs/9699919799
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
SEI CERT Oracle Coding Standard for Java (2)
Home page:
SEI CERT Oracle Coding Standard for Java
Page:
FIO14-J. Perform proper cleanup at program termination
SEI CERT C++ Coding Standard (2)
Page:
VOID ERR04-CPP. Choose an appropriate termination strategy
Home page:
SEI CERT C++ Coding Standard
SEI CERT C Coding Standard (14)
Page:
PC-lint Plus_V
Page:
ERR06-C. Understand the termination behavior of assert() and abort()
Page:
BB. Definitions
Page:
ERR05-C. Application-independent code should provide error detection without dictating error handling
Page:
ERR00-C. Adopt and implement a consistent and comprehensive error-handling policy
Page:
Security Reviewer - Static Reviewer_V
Page:
AA. Bibliography
Page:
ENV32-C. All exit handlers must return normally
Home page:
SEI CERT C Coding Standard
Page:
Parasoft
Page:
Parasoft_V
Page:
PC-lint Plus
Page:
Security Reviewer - Static Reviewer
Page:
CC. Undefined Behavior
Overview
Content Tools
{"serverDuration": 77, "requestCorrelationId": "42fb7bcc27ef7b87"}