kernel32: Indicate that HeapValidate called by GlobalHandle is not the sign of heap corruption.
dmitry at baikal.ru
Wed Feb 13 02:46:49 CST 2013
This helps to distinguish this one from real signs of heap corruption,
and saves quite a bit of effort analysing +heap or warn+heap logs.
dlls/kernel32/heap.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/kernel32/heap.c b/dlls/kernel32/heap.c
index b74763f..c0bf7fe 100644
@@ -560,6 +560,7 @@ HGLOBAL WINAPI GlobalHandle(
handle = (HGLOBAL)pmem; /* valid fixed block */
+ WARN("please ignore HeapValidate warning above\n");
handle = POINTER_TO_HANDLE(pmem);
handle = (HGLOBAL)pmem;
More information about the wine-patches