-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
In the file iidbicurs.c, the line:2026~2027
2026 pstmt->descriptor[i]->columnName = calloc(1,cbColName + 1);
2027 strcpy(pstmt->descriptor[i]->columnName, (char *)colName);
if calloc allocate memory failed, it will return NULL, but next the NULL will be used to point colName.
it will happen the memory corruption.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels