ntdll: fix large block realloc annotation

Dan Kegel dank at kegel.com
Mon Feb 1 13:25:35 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=21336
looks mostly fixed, but the annotation is still a bit off.
This moves it to the right spot.  Fixes the spurious warnings

Invalid read of size 1
   at test_sized_HeapReAlloc (heap.c:76)
   by func_heap (heap.c:798)
 Address 0x7f340020 is on thread 1's stack

Invalid free() / delete / delete[]
   at RtlFreeHeap (heap.c:262)
   by test_sized_HeapReAlloc (heap.c:77)
   by func_heap (heap.c:798)
 Address 0x7f340020 is on thread 1's stack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reallocfix.patch
Type: text/x-patch
Size: 646 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100201/2dcdfba7/attachment.bin>


More information about the wine-patches mailing list