mirror of
https://github.com/reactos/reactos.git
synced 2024-07-17 01:46:10 +00:00
- Properly disable tag validation if using debugging pool (fixes a wrong part of r41255).
svn path=/trunk/; revision=41256
This commit is contained in:
parent
88b8188a0e
commit
65612168fe
|
@ -267,7 +267,7 @@ ExFreePoolWithTag(
|
|||
(char*)Block < ((char*)MmPagedPoolBase + MmPagedPoolSize))
|
||||
{
|
||||
/* Validate tag */
|
||||
#if 0
|
||||
#ifndef DEBUG_PPOOL
|
||||
if (Tag != 0 && Tag != EiGetPagedPoolTag(Block))
|
||||
KeBugCheckEx(BAD_POOL_CALLER,
|
||||
0x0a,
|
||||
|
@ -297,13 +297,14 @@ ExFreePoolWithTag(
|
|||
(char*)Block < ((char*)MiNonPagedPoolStart + MiNonPagedPoolLength))
|
||||
{
|
||||
/* Validate tag */
|
||||
/*if (Tag != 0 && Tag != EiGetNonPagedPoolTag(Block))
|
||||
#ifndef DEBUG_NPOOL
|
||||
if (Tag != 0 && Tag != EiGetNonPagedPoolTag(Block))
|
||||
KeBugCheckEx(BAD_POOL_CALLER,
|
||||
0x0a,
|
||||
(ULONG_PTR)Block,
|
||||
EiGetNonPagedPoolTag(Block),
|
||||
Tag);*/
|
||||
|
||||
Tag);
|
||||
#endif
|
||||
/* Validate IRQL */
|
||||
if (KeGetCurrentIrql() > DISPATCH_LEVEL)
|
||||
KeBugCheckEx(BAD_POOL_CALLER,
|
||||
|
|
Loading…
Reference in a new issue