mirror of
https://github.com/reactos/reactos.git
synced 2026-06-08 17:02:56 +08:00
[RTL] Notify verifier when freeing the process page heap
This commit is contained in:
@@ -1686,7 +1686,12 @@ RtlpPageHeapDestroy(HANDLE HeapPtr)
|
||||
/* Check if it's not a process heap */
|
||||
if (HeapPtr == RtlGetProcessHeap())
|
||||
{
|
||||
DbgBreakPoint();
|
||||
VERIFIER_STOP(APPLICATION_VERIFIER_DESTROY_PROCESS_HEAP,
|
||||
"attempt to destroy process heap",
|
||||
HeapPtr, "Heap handle",
|
||||
0, "",
|
||||
0, "",
|
||||
0, "");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user