| Content by Label | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| Info |
|---|
Information for Editors |
Risk Assessment Summary
Rule | Severity | Likelihood | Detectable | Repairable | Priority | Level |
|---|---|---|---|---|---|---|
| ERR30-C | Medium | Probable | Yes | Yes | P12 | L1 |
| ERR32-C | Low | Unlikely | Yes | Yes | P3 | L3 |
| ERR33-C | High | Likely | Yes | Yes | P27 | L1 |
| ERR34-C | Medium | Unlikely | Yes | Yes | P6 | L2 |
Recommendations
ERR00-C. Adopt and implement a consistent and comprehensive error handling policy
ERR01-C. Use ferror() rather than errno to check for FILE stream errors
ERR02-C. Avoid in-band error indicators
ERR03-C. Use runtime-constraint handlers when calling functions defined by TR24731-1
ERR04-C. Choose an appropriate termination strategy
ERR06-C. Understand the termination behavior of assert() and abort()
Rules
ERR30-C. Only inspect errno after calling functions known to use errno to report errors
ERR32-C. Do not rely on indeterminate values of errno
Risk Assessment Summary
Recommendation | Severity | Likelihood | Remediation Cost | Priority | Level |
|---|---|---|---|---|---|
ERR00-C | medium | probable | high | P4 | L3 |
ERR01-C | low | probable | low | P6 | L2 |
ERR02-C | low | unlikely | high | P1 | L3 |
ERR03-C | low | unlikely | medium | P2 | L3 |
ERR04-C | medium | probable | high | P4 | L3 |
ERR05-C | medium | probable | high | P4 | L3 |
ERR06-C | medium | unlikely | medium | P4 | L3 |
Rule | Severity | Likelihood | Remediation Cost | Priority | Level |
|---|---|---|---|---|---|
ERR30-C | low | unlikely | medium | P2 | L3 |
ERR31-C | low | unlikely | low | P3 | L3 |
ERR32-C | low | unlikely | low | P3 | L3 |
Related Rules and Recommendations
| Navigation Map | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
...
11. Signals (SIG) ERR00-C. Adopt and implement a consistent and comprehensive error handling policy