- 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:
Alex Ionescu 2007-01-04 01:55:27 +00:00
parent 70f0e9dbce
commit e7f7023167

View file

@ -167,7 +167,7 @@ Ke386SanitizeDr(IN PVOID DrAddress,
{ \
/* Check if we need to request an APC Delivery */ \
if (!(IsListEmpty(&_Thread->ApcState.ApcListHead[KernelMode])) && \
!(_Thread->KernelApcDisable)) \
!(_Thread->SpecialApcDisable)) \
{ \
/* Check for the right environment */ \
KiCheckForKernelApcDelivery(); \