Home / Vulnerability Database / C or C++ : Incompatible allocated type
C/C++

C or C++ : Incompatible allocated type

Overview

Inconsistencies between the casted type of the return value of a malloc()/calloc()/realloc() call and the operand of sizeof() expression contained within its argument can lead to errors.

MEDIUM

DerScanner Severity Score

Do you want to fix C or C++ : Incompatible allocated type in your application?

See also

C/C++

C or C++ : Dead store

C/C++

C or C++ : Use after free

C/C++

C or C++ : va_list uninitialized