...
Automated Detection
Tool | Version | Checker | Description | ||||||
|---|---|---|---|---|---|---|---|---|---|
| CodeSonar |
| LANG.CAST.COERCE | Coercion alters value | ||||||
| Compass/ROSE |
|
|
| ||||||
| Coverity | 6.5 | CHAR_IO | Identifies defects when the return value of | ||||||
| ECLAIR | 1.2 | CC2.FIO34 | Partially implemented | ||||||
| Klocwork |
| CWARN.CMPCHR.EOF | |||||||
| LDRA tool suite |
| 662 S | Fully implemented | ||||||
| Parasoft C/C++test | 9.5 | MISRA2004-10_1_d | Partially implemented | ||||||
| Splint | 3.1.1 |
|
| ||||||
| PRQA QA-C++ | 4.2 | 3051, 3001, 3010, 3137, 3717 |
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 |