http://bugs.winehq.org/show_bug.cgi?id=20303
Summary: Spurious valgrind warning in HEAP_CreateSubHeap? Product: Wine Version: 1.1.29 Platform: PC OS/Version: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
Running wine's tests under valgrind generates lots of errors like:
Invalid write of size 4 at 0xCC5CE91: HEAP_CreateSubHeap (heap.c:815) by 0xCC5E643: RtlCreateHeap (heap.c:1265) by 0xCC95B0D: thread_init (thread.c:328) by 0xCC67898: __wine_process_init (loader.c:2695) by 0xC52E91A: wine_init (loader.c:711) by 0x7BF01274: main (main.c:218) Address 0x7f00000c is not stack'd, malloc'd or (recently) free'd
Seems like ntdll is missing a valgrind annotation or two...?