diff --git a/service/ptos/ex/pool.c b/service/ptos/ex/pool.c index 9b3e801..15601e6 100644 --- a/service/ptos/ex/pool.c +++ b/service/ptos/ex/pool.c @@ -282,7 +282,7 @@ ExFreePoolWithTag(VOID *Ptr, ULONG Tag) Header = PTR_NOFFSET(Ptr, sizeof(POOL_HEADER)); if (Header->Tag != Tag) { KeBugCheck( - BUGCHECK_MISC, + BUGCHECK_BAD_FREE, "tag does not match pool header\n" ); } @@ -290,7 +290,7 @@ ExFreePoolWithTag(VOID *Ptr, ULONG Tag) Page = Header->Page; if (Page == NULL) { KeBugCheck( - BUGCHECK_MISC, + BUGCHECK_BAD_FREE, "attempted free on malformed header\n" ); }