https://bugs.winehq.org/show_bug.cgi?id=36613
Bug ID: 36613 Summary: valgrind shows an unintialized write in winhttp/tests/notification.c Product: Wine Version: 1.7.19 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
../../../tools/runtest -q -P wine -T ../../.. -M winhttp.dll -p winhttp_test.exe.so notification && touch notification.ok preloader: Warning: failed to reserve range 00110000-68000000 preloader: Warning: failed to reserve range 7f000000-82000000 ==28055== Thread 2: ==28055== Syscall param write(buf) points to uninitialised byte(s) ==28055== at 0x4226D1B: ??? (syscall-template.S:81) ==28055== by 0x7BC7FD72: send_request (server.c:198) ==28055== by 0x7BC7FF91: wine_server_call (server.c:294) ==28055== by 0x7BC890FC: NtSetEvent (sync.c:361) ==28055== by 0x7B87723E: SetEvent (sync.c:572) ==28055== by 0x4CA543A: check_notification (notification.c:120) ==28055== by 0x4E24DA0: send_callback (session.c:75) ==28055== by 0x4E1645A: release_object (handle.c:81) ==28055== by 0x4E26110: request_destroy (session.c:559) ==28055== by 0x4E164D2: release_object (handle.c:85) ==28055== by 0x4E19EE3: task_thread (request.c:186) ==28055== by 0x7BC90A24: worker_thread_proc (threadpool.c:110) ==28055== by 0x7BC870C7: ??? (signal_i386.c:2571) ==28055== by 0x7BC87110: call_thread_func (signal_i386.c:2630) ==28055== by 0x7BC870A5: ??? (signal_i386.c:2571) ==28055== by 0x7BC8E4EC: start_thread (thread.c:428) ==28055== by 0x421FF92: start_thread (pthread_create.c:309) ==28055== by 0x43247ED: clone (clone.S:129) ==28055== Address 0x62ce700 is on thread 1's stack ==28055== Uninitialised value was created by a stack allocation ==28055== at 0x7BC7FF56: wine_server_call (server.c:288) ==28055==