Home / Vulnerability Database / C or C++ : Incorrect use of operator sizeof
C/C++
C or C++ : Incorrect use of operator sizeof
Classification
CWE
Overview
Unintended use of pointer to data structure size instead of the data structure size may lead to errors, for example, insufficient memory allocation.
MEDIUM
DerScanner Severity Score
Do you want to fix C or C++ : Incorrect use of operator sizeof in your application?
See also
C/C++
C or C++ : Dead store
C/C++
C or C++ : Use after free
C/C++
