[SETUPAPI] Allocate big enough buffer in CM_Query_Resource_Conflict_List().

CID 1441357
This commit is contained in:
Pierre Schweitzer 2018-11-16 21:36:07 +01:00
parent 2255d5f5b6
commit 699af9f62a
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -6691,7 +6691,7 @@ CM_Query_Resource_Conflict_List(
if (lpDevInst == NULL)
return CR_INVALID_DEVNODE;
pConflictData = MyMalloc(sizeof(PCONFLICT_DATA));
pConflictData = MyMalloc(sizeof(CONFLICT_DATA));
if (pConflictData == NULL)
{
ret = CR_OUT_OF_MEMORY;