|
|
|
|
CWE-704: Incorrect Type Conversion or Cast | |
| | Incorrect Type Conversion or Cast |
|
| Weakness ID: 704 (Weakness Class) | | Status: Incomplete |
Description
Description Summary The software does not correctly convert an object, resource or
structure from one type to a different type.
Time of Introduction
- Architecture and Design
- Implementation
Relationships Taxonomy Mappings | Mapped Taxonomy Name | Node ID | Fit | Mapped Node Name |
| CERT C Secure Coding | EXP05-C | | Do not cast away a const qualification |
| CERT C Secure Coding | MSC31-C | | Ensure that return values are compared against the proper
type |
| CERT C Secure Coding | STR34-C | | Cast characters to unsigned types before converting to larger
integer sizes |
| CERT C Secure Coding | STR37-C | | Arguments to character handling functions must be
representable as an unsigned char |
Content History | Modifications |
|---|
| Modification Date | Modifier | Organization | Source |
|---|
| 2008-07-01 | Eric Dalci | Cigital | External | | updated Time of Introduction | | 2008-11-24 | CWE Content Team | MITRE | Internal | | updated Relationships,
Taxonomy Mappings | | 2009-05-27 | CWE Content Team | MITRE | Internal | | updated Description |
|