...
Use only signed char
and unsigned char
types for the storage and use of numeric values because it is the only portable way to guarantee the signedness of the character types . See (see STR00-C. Represent characters using an appropriate type for more information on representing characters).
Noncompliant Code Example
...
Tool | Version | Checker | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
|
| Can detect violations of this recommendation. In particular, it flags any instance of a variable of type | |||||||
| CC2.INT07 | Fully implemented | |||||||
5.0 |
| Can detect violations of this recommendation with the CERT C Rule Pack | |||||||
| 93 S, 96 S, 101 S, 329 S, 432 S, 458 S | Fully implemented | |||||||
|
|
| |||||||
PRQA QA-C |
| 1292, 1293, 4401, 4421, 4431, 4441, 4451
| Partially implemented |
Related Vulnerabilities
...