mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOS:IO] Initialize InterruptObject to NULL on failure
Fixes a pool corruption when trying to handle IRP_MN_REMOVE_DEVICE in the driver CORE-17256
This commit is contained in:
parent
f4a38a05ec
commit
adf534b284
1 changed files with 1 additions and 0 deletions
|
@ -112,6 +112,7 @@ IoConnectInterrupt(OUT PKINTERRUPT *InterruptObject,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* And fail */
|
/* And fail */
|
||||||
|
*InterruptObject = NULL;
|
||||||
return STATUS_INVALID_PARAMETER;
|
return STATUS_INVALID_PARAMETER;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue