mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[SETUPAPI] Allocate big enough buffer in CM_Query_Resource_Conflict_List().
CID 1441357
This commit is contained in:
parent
2255d5f5b6
commit
699af9f62a
1 changed files with 1 additions and 1 deletions
|
@ -6691,7 +6691,7 @@ CM_Query_Resource_Conflict_List(
|
||||||
if (lpDevInst == NULL)
|
if (lpDevInst == NULL)
|
||||||
return CR_INVALID_DEVNODE;
|
return CR_INVALID_DEVNODE;
|
||||||
|
|
||||||
pConflictData = MyMalloc(sizeof(PCONFLICT_DATA));
|
pConflictData = MyMalloc(sizeof(CONFLICT_DATA));
|
||||||
if (pConflictData == NULL)
|
if (pConflictData == NULL)
|
||||||
{
|
{
|
||||||
ret = CR_OUT_OF_MEMORY;
|
ret = CR_OUT_OF_MEMORY;
|
||||||
|
|
Loading…
Reference in a new issue