This page is experimental and may change significantly in future releases.
Use of sizeof() on a Pointer Type
Properties
id: d3f:CWE-467
- name
- Use of sizeof() on a Pointer Type
- definition
- The code calls sizeof() on a pointer type, which can be an incorrect calculation if the programmer intended to determine the size of the data that is being pointed to.
Neighbors
CWE-467 has no direct neighbors in this release.Inferred Relationships
Related Countermeasure Techniques
Related Weaknesses
CWE-467 has no related weaknesses in this release.