mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +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:
committed by
Stanislav Motylkov
parent
f4a38a05ec
commit
adf534b284
@@ -112,6 +112,7 @@ IoConnectInterrupt(OUT PKINTERRUPT *InterruptObject,
|
||||
}
|
||||
|
||||
/* And fail */
|
||||
*InterruptObject = NULL;
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user