https://bugs.winehq.org/show_bug.cgi?id=36609
Bug ID: 36609 Summary: valgrind shows uninitialized memory use in wscript/tests/run.c Product: Wine Version: 1.7.19 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: wscript Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
==14496== Thread 2: ==14496== Syscall param write(buf) points to uninitialised byte(s) ==14496== at 0x4226D1B: ??? (syscall-template.S:81) ==14496== by 0x7BC46B60: NtWriteFile (file.c:1073) ==14496== by 0x7B83E03E: WriteFile (file.c:563) ==14496== by 0x62C0B3C: rpcrt4_conn_np_write (rpc_transport.c:444) ==14496== by 0x62B5AAB: rpcrt4_conn_write (rpc_binding.h:189) ==14496== by 0x62B7A2D: RPCRT4_SendWithAuth (rpc_message.c:849) ==14496== by 0x62B8B24: RPCRT4_Send (rpc_message.c:1245) ==14496== by 0x62BA3B1: I_RpcSend (rpc_message.c:1806) ==14496== by 0x62BA73B: I_RpcSendReceive (rpc_message.c:1909) ==14496== by 0x5F6DA45: rpc_sendreceive_thread (rpc.c:801) ==14496== by 0x7BC90A24: worker_thread_proc (threadpool.c:110) ==14496== by 0x7BC870C7: ??? (signal_i386.c:2571) ==14496== by 0x7BC87110: call_thread_func (signal_i386.c:2630) ==14496== by 0x7BC870A5: ??? (signal_i386.c:2571) ==14496== by 0x7BC8E4EC: start_thread (thread.c:428) ==14496== by 0x421FF92: start_thread (pthread_create.c:309) ==14496== by 0x43247ED: clone (clone.S:129) ==14496== Address 0x49a4c32 is 138 bytes inside a block of size 256 alloc'd ==14496== at 0x7BC4C6DF: notify_alloc (heap.c:255) ==14496== by 0x7BC50F23: RtlAllocateHeap (heap.c:1716) ==14496== by 0x62B786D: RPCRT4_SendWithAuth (rpc_message.c:808) ==14496== by 0x62B8B24: RPCRT4_Send (rpc_message.c:1245) ==14496== by 0x62BA3B1: I_RpcSend (rpc_message.c:1806) ==14496== by 0x62BA73B: I_RpcSendReceive (rpc_message.c:1909) ==14496== by 0x5F6DA45: rpc_sendreceive_thread (rpc.c:801) ==14496== by 0x7BC90A24: worker_thread_proc (threadpool.c:110) ==14496== by 0x7BC870C7: ??? (signal_i386.c:2571) ==14496== by 0x7BC87110: call_thread_func (signal_i386.c:2630) ==14496== by 0x7BC870A5: ??? (signal_i386.c:2571) ==14496== by 0x7BC8E4EC: start_thread (thread.c:428) ==14496== by 0x421FF92: start_thread (pthread_create.c:309) ==14496== by 0x43247ED: clone (clone.S:129) ==14496== Uninitialised value was created by a stack allocation ==14496== at 0x6A5D0C9: disp_call (dispex.c:1096) ==14496==
https://bugs.winehq.org/show_bug.cgi?id=36609
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |valgrind
https://bugs.winehq.org/show_bug.cgi?id=36609
--- Comment #1 from Austin English austinenglish@gmail.com --- Also:
==9417== Thread 5: ==9417== Syscall param writev(vector[...]) points to uninitialised byte(s) ==9417== at 0x433804F: ??? (syscall-template.S:84) ==9417== by 0x7BC8946B: send_request (server.c:228) ==9417== by 0x7BC89626: wine_server_call (server.c:309) ==9417== by 0x7BC4867A: server_write_file (file.c:624) ==9417== by 0x7BC49E71: NtWriteFile (file.c:1238) ==9417== by 0x53D4332: rpcrt4_conn_np_write (rpc_transport.c:414) ==9417== by 0x53C9242: rpcrt4_conn_write (rpc_binding.h:196) ==9417== by 0x53CB001: RPCRT4_SendWithAuth (rpc_message.c:849) ==9417== by 0x53CC050: RPCRT4_Send (rpc_message.c:1248) ==9417== by 0x53CF275: process_request_packet (rpc_server.c:462) ==9417== by 0x53CF553: RPCRT4_process_packet (rpc_server.c:517) ==9417== by 0x53CF6B9: RPCRT4_worker_thread (rpc_server.c:539) ==9417== by 0x7BC9E2D7: process_rtl_work_item (threadpool.c:349) ==9417== by 0x7BCA2224: threadpool_worker_proc (threadpool.c:2112) ==9417== by 0x7BC913B3: ??? (signal_i386.c:2700) ==9417== by 0x7BC9143B: call_thread_func (signal_i386.c:2759) ==9417== by 0x7BC91391: ??? (signal_i386.c:2700) ==9417== by 0x7BC9B3EE: start_thread (thread.c:487) ==9417== by 0x4244249: start_thread (pthread_create.c:333) ==9417== by 0x433FD6D: clone (clone.S:114) ==9417== Address 0x48eeb9c is 44 bytes inside a block of size 92 alloc'd ==9417== at 0x7BC51061: notify_alloc (heap.c:254) ==9417== by 0x7BC5554F: RtlAllocateHeap (heap.c:1716) ==9417== by 0x53CAE79: RPCRT4_SendWithAuth (rpc_message.c:808) ==9417== by 0x53CC050: RPCRT4_Send (rpc_message.c:1248) ==9417== by 0x53CF275: process_request_packet (rpc_server.c:462) ==9417== by 0x53CF553: RPCRT4_process_packet (rpc_server.c:517) ==9417== by 0x53CF6B9: RPCRT4_worker_thread (rpc_server.c:539) ==9417== by 0x7BC9E2D7: process_rtl_work_item (threadpool.c:349) ==9417== by 0x7BCA2224: threadpool_worker_proc (threadpool.c:2112) ==9417== by 0x7BC913B3: ??? (signal_i386.c:2700) ==9417== by 0x7BC9143B: call_thread_func (signal_i386.c:2759) ==9417== by 0x7BC91391: ??? (signal_i386.c:2700) ==9417== by 0x7BC9B3EE: start_thread (thread.c:487) ==9417== by 0x4244249: start_thread (pthread_create.c:333) ==9417== by 0x433FD6D: clone (clone.S:114) ==9417== Uninitialised value was created by a client request ==9417== at 0x7BC50E23: mark_block_uninitialized (heap.c:208) ==9417== by 0x7BC50FB1: initialize_block (heap.c:239) ==9417== by 0x7BC5556F: RtlAllocateHeap (heap.c:1717) ==9417== by 0x4B6B42B: IMalloc_fnAlloc (ifs.c:187) ==9417== by 0x4B6BCCB: IMalloc_Alloc (objidl.h:1405) ==9417== by 0x4B6BCCB: CoTaskMemAlloc (???:0) ==9417== by 0x4BADB6E: RemUnknown_RemQueryInterface (stubmanager.c:716) ==9417== by 0x4BB7274: IRemUnknown_RemQueryInterface_Stub (dcom_p.c:369) ==9417== by 0x539F358: CStdStubBuffer_Invoke (cstub.c:478) ==9417== by 0x4B8A26E: IRpcStubBuffer_Invoke (objidl.h:7878) ==9417== by 0x4B8A26E: RPC_ExecuteCall (???:0) ==9417== by 0x4B8A6D8: dispatch_rpc (rpc.c:1503) ==9417== by 0x53CF03A: process_request_packet (rpc_server.c:439) ==9417== by 0x53CF553: RPCRT4_process_packet (rpc_server.c:517) ==9417== by 0x53CF6B9: RPCRT4_worker_thread (rpc_server.c:539) ==9417== by 0x7BC9E2D7: process_rtl_work_item (threadpool.c:349) ==9417== by 0x7BCA2224: threadpool_worker_proc (threadpool.c:2112) ==9417== by 0x7BC913B3: ??? (signal_i386.c:2700) ==9417== by 0x7BC9143B: call_thread_func (signal_i386.c:2759) ==9417== by 0x7BC91391: ??? (signal_i386.c:2700) ==9417== by 0x7BC9B3EE: start_thread (thread.c:487) ==9417== by 0x4244249: start_thread (pthread_create.c:333) ==9417==