...
Code Block |
---|
size_t count_whitespace(const char *s) { const char *t = s; while(isspace((unsigned char)*t)) ++t; return t - s; } |
Priority: P3 Level: L3
Risk Assessment
Rule | Severity | Likelihood | Remediation Cost | Priority | Level | |
---|---|---|---|---|---|---|
INT37-C | ||||||
Component | Value | |||||
Severity | 1 (low) | Likelihood | 1 (unlikely) Remediation cost | 3 (low) | P3 | L3 |
References
- ISO/IEC 9899-1999 Section 7.4 Character handling <ctype.h>
- Kettlewell 02 Section 1.1 <ctype.h> And Characters Types