...
Automated Detection
Tool | Version | Checker | Description | ||||||
|---|---|---|---|---|---|---|---|---|---|
| CodeSonar |
| LANG.CAST.COERCE | Coercion alters value | ||||||
|
|
| |||||||
| 6.5 | CHAR_IO | Identifies defects when the return value of | |||||||
| 1.2 | CC2.FIO34 | Partially implemented | |||||||
5.0 |
| Can detect violations of this rule with CERT C Rule Pack | |||||||
| Parasoft C/C++test | 9.5 | MISRA2004-10_1_d | Partially implemented | ||||||
| 3.1.1 |
|
|
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
Related Guidelines
Bibliography
| [Kettlewell 2002] | Section 1.2, "<stdio.h> and Character Types" |
| [NIST 2006] | SAMATE Reference Dataset Test Case ID 000-000-088 |
| [Summit 2005] | Question 12.2 |