sizeof-pointer-type
sizeof-pointer-type
Using
Likelihood: LOW
Confidence: MEDIUM
CWE:
- CWE-467: Use of sizeof() on a Pointer Type
sizeof(...) on a pointer type is error prone and can lead to memory corruption if the incorrect size is used to allocate memory. An explicit length should be used instead of using sizeof(...).Likelihood: LOW
Confidence: MEDIUM
CWE:
- CWE-467: Use of sizeof() on a Pointer Type