[Bug 36636] valgrind shows an uninitialized write in shell32/tests/appbar.c

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jun 15 21:44:44 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=36636

--- Comment #2 from Austin English <austinenglish at gmail.com> ---
Maybe. If I remove the suppression and apply the patch, instead I get:

../../../tools/runtest -q -P wine -T ../../.. -M shell32.dll -p
shell32_test.exe.so appbar && touch appbar.ok
preloader: Warning: failed to reserve range 00110000-68000000
preloader: Warning: failed to reserve range 7f000000-82000000
==15640== Syscall param writev(vector[...]) points to uninitialised byte(s)
==15640==    at 0x4EFB9D16: writev (in /usr/lib/libc-2.19.90.so)
==15640==    by 0x7BC780ED: send_request (server.c:213)
==15640==    by 0x7BC78272: wine_server_call (server.c:294)
==15640==    by 0x5482B43: put_message_in_queue (message.c:3141)
==15640==    by 0x5482E81: send_inter_thread_message (message.c:3209)
==15640==    by 0x548312B: send_message (message.c:3277)
==15640==    by 0x548353C: SendMessageTimeoutW (message.c:3414)
==15640==    by 0x4E6E0D8: SHAppBarMessage (appbar.c:142)
==15640==    by 0x4CCD40B: test_setpos (appbar.c:223)
==15640==    by 0x4CCE868: func_appbar (appbar.c:443)
==15640==    by 0x4D22597: run_test (test.h:584)
==15640==    by 0x4D22963: main (test.h:654)
==15640==  Address 0x4e4fb94 is on thread 1's stack
==15640==  Uninitialised value was created by a stack allocation
==15640==    at 0x4E6DC58: SHAppBarMessage (appbar.c:65)
==15640== 

==15720== Syscall param writev(vector[...]) points to uninitialised byte(s)
==15720==    at 0x4EFB9D16: writev (in /usr/lib/libc-2.19.90.so)
==15720==    by 0x7BC780ED: send_request (server.c:213)
==15720==    by 0x7BC78272: wine_server_call (server.c:294)
==15720==    by 0x5482B43: put_message_in_queue (message.c:3141)
==15720==    by 0x5482E81: send_inter_thread_message (message.c:3209)
==15720==    by 0x548312B: send_message (message.c:3277)
==15720==    by 0x548353C: SendMessageTimeoutW (message.c:3414)
==15720==    by 0x4E6E0D8: SHAppBarMessage (appbar.c:142)
==15720==    by 0x4CCD40B: test_setpos (appbar.c:223)
==15720==    by 0x4CCE868: func_appbar (appbar.c:443)
==15720==    by 0x4D22597: run_test (test.h:584)
==15720==    by 0x4D22963: main (test.h:654)
==15720==  Address 0x4e4fb94 is on thread 1's stack
==15720==  Uninitialised value was created by a stack allocation
==15720==    at 0x4E6DC58: SHAppBarMessage (appbar.c:65)
==15720==

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list