sqc 0.4.13

Software Code Quality - CERT C compliance checker
[metadata]
id = "ERR05-C"
type = "recommendation"
category = "ERR"
number = 5
title = "Application-independent code should provide error detection without dictating error handling"
description = """
Application-independent code includes code that is When application-specific
code detects an error, it can immediately respond with a specific action, as in
if (something_really_bad_happens) { take_me_some_place_safe(); }
"""
severity = "Medium"
likelihood = "Probable"
priority = "P8"
level = "L2"
cert_version = "2016 Edition (Wiki)"
last_modified = "Aug 06, 2025"

[rules.cert_c.ERR05-C]
enabled = true

[references]
wiki = "https://wiki.sei.cmu.edu/confluence/display/c/ERR05-C.+Application-independent+code+should+provide+error+detection+without+dictating+error+handling"