mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 16:36:11 +00:00
- Fix a bug in KeLeaveCriticalRegion which was delivering APCs even if Special APCs were disabled. The check is now fixed. Thanks to Dominique Cote for the bug report.
svn path=/trunk/; revision=25289
This commit is contained in:
parent
70f0e9dbce
commit
e7f7023167
|
@ -167,7 +167,7 @@ Ke386SanitizeDr(IN PVOID DrAddress,
|
||||||
{ \
|
{ \
|
||||||
/* Check if we need to request an APC Delivery */ \
|
/* Check if we need to request an APC Delivery */ \
|
||||||
if (!(IsListEmpty(&_Thread->ApcState.ApcListHead[KernelMode])) && \
|
if (!(IsListEmpty(&_Thread->ApcState.ApcListHead[KernelMode])) && \
|
||||||
!(_Thread->KernelApcDisable)) \
|
!(_Thread->SpecialApcDisable)) \
|
||||||
{ \
|
{ \
|
||||||
/* Check for the right environment */ \
|
/* Check for the right environment */ \
|
||||||
KiCheckForKernelApcDelivery(); \
|
KiCheckForKernelApcDelivery(); \
|
||||||
|
|
Loading…
Reference in a new issue