Given the following test code:
size_t* TestCode(int Len)
{
size_t *result = (size_t*)malloc(sizeof(*result) + Len);
return result;
}
Code inspections says that Variable can be declared auto, which is incorrect as sizeof(result) is used as a parameter.