CWE-467 - CERT CVE

CWE-467 - Use of sizeof() on a Pointer Type

The code calls sizeof() on a malloced pointer type, which always returns the wordsize/8. This can produce an unexpected result if the programmer intended to determine how much memory has been allocated.

Ova CWE oznaka nema CAPEC oznaku.