Reactos

[RTL] Notify verifier when freeing the process page heap

+6 -1
+6 -1
sdk/lib/rtl/heappage.c
··· 1686 1686 /* Check if it's not a process heap */ 1687 1687 if (HeapPtr == RtlGetProcessHeap()) 1688 1688 { 1689 - DbgBreakPoint(); 1689 + VERIFIER_STOP(APPLICATION_VERIFIER_DESTROY_PROCESS_HEAP, 1690 + "attempt to destroy process heap", 1691 + HeapPtr, "Heap handle", 1692 + 0, "", 1693 + 0, "", 1694 + 0, ""); 1690 1695 return NULL; 1691 1696 } 1692 1697