Skip to main content
GitHub

Integers (INT)

Risk Assessment Summary

RuleSeverityLikelihoodDetectableRepairablePriorityLevel
INT00-CHighUnlikelyNoNoP3L3
INT01-CMediumProbableNoYesP8L2
INT02-CMediumProbableNoNoP4L3
INT04-CHighProbableYesNoP12L1
INT05-CMediumProbableYesNoP8L2
INT07-CMediumProbableYesYesP12L1
INT08-CMediumProbableNoNoP4L3
INT09-CLowProbableYesNoP4L3
INT10-CHighUnlikelyNoNoP3L3
INT12-CLowUnlikelyNoNoP1L3
INT13-CHighUnlikelyYesNoP6L2
INT14-CMediumUnlikelyYesNoP4L3
INT15-CHighUnlikelyNoYesP6L2
INT16-CMediumUnlikelyNoNoP2L3
INT17-CHighProbableNoNoP6L3
INT18-CHighLikelyNoYesP18L1
DCL31-C. Declare identifiers before using them
FIO09-C. Be careful with binary data when transferring data across systems
void FIO34-C. Use int to capture the return value of character IO functions that might be used to check for end of file
void FIO35-C. Use feof() and ferror() to detect end-of-file and file errors when sizeof(int) == sizeof(char)