[Bug 43381] New: valgrind shows uninitialized memory in dlls/ole32/tests/ ole_server.c

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jul 18 16:00:48 CDT 2017


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

            Bug ID: 43381
           Summary: valgrind shows uninitialized memory in
                    dlls/ole32/tests/ole_server.c
           Product: Wine
           Version: 2.12
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase, valgrind
          Severity: normal
          Priority: P2
         Component: ole32
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com
      Distribution: ---

==31032== Thread 5:
==31032== Syscall param writev(vector[...]) points to uninitialised byte(s)
==31032==    at 0x433804F: ??? (syscall-template.S:84)
==31032==    by 0x7BC8946B: send_request (server.c:228)
==31032==    by 0x7BC89626: wine_server_call (server.c:309)
==31032==    by 0x7BC4867A: server_write_file (file.c:624)
==31032==    by 0x7BC49E71: NtWriteFile (file.c:1238)
==31032==    by 0x56ED332: rpcrt4_conn_np_write (rpc_transport.c:414)
==31032==    by 0x56E2242: rpcrt4_conn_write (rpc_binding.h:196)
==31032==    by 0x56E4001: RPCRT4_SendWithAuth (rpc_message.c:849)
==31032==    by 0x56E5050: RPCRT4_Send (rpc_message.c:1248)
==31032==    by 0x56E8275: process_request_packet (rpc_server.c:462)
==31032==    by 0x56E8553: RPCRT4_process_packet (rpc_server.c:517)
==31032==    by 0x56E86B9: RPCRT4_worker_thread (rpc_server.c:539)
==31032==    by 0x7BC9E2D7: process_rtl_work_item (threadpool.c:349)
==31032==    by 0x7BCA2224: threadpool_worker_proc (threadpool.c:2112)
==31032==    by 0x7BC913B3: ??? (signal_i386.c:2700)
==31032==    by 0x7BC9143B: call_thread_func (signal_i386.c:2759)
==31032==    by 0x7BC91391: ??? (signal_i386.c:2700)
==31032==    by 0x7BC9B3EE: start_thread (thread.c:487)
==31032==    by 0x4244249: start_thread (pthread_create.c:333)
==31032==    by 0x433FD6D: clone (clone.S:114)
==31032==  Address 0x48968b4 is 44 bytes inside a block of size 92 alloc'd
==31032==    at 0x7BC51061: notify_alloc (heap.c:254)
==31032==    by 0x7BC5554F: RtlAllocateHeap (heap.c:1716)
==31032==    by 0x56E3E79: RPCRT4_SendWithAuth (rpc_message.c:808)
==31032==    by 0x56E5050: RPCRT4_Send (rpc_message.c:1248)
==31032==    by 0x56E8275: process_request_packet (rpc_server.c:462)
==31032==    by 0x56E8553: RPCRT4_process_packet (rpc_server.c:517)
==31032==    by 0x56E86B9: RPCRT4_worker_thread (rpc_server.c:539)
==31032==    by 0x7BC9E2D7: process_rtl_work_item (threadpool.c:349)
==31032==    by 0x7BCA2224: threadpool_worker_proc (threadpool.c:2112)
==31032==    by 0x7BC913B3: ??? (signal_i386.c:2700)
==31032==    by 0x7BC9143B: call_thread_func (signal_i386.c:2759)
==31032==    by 0x7BC91391: ??? (signal_i386.c:2700)
==31032==    by 0x7BC9B3EE: start_thread (thread.c:487)
==31032==    by 0x4244249: start_thread (pthread_create.c:333)
==31032==    by 0x433FD6D: clone (clone.S:114)
==31032==  Uninitialised value was created by a client request
==31032==    at 0x7BC50E23: mark_block_uninitialized (heap.c:208)
==31032==    by 0x7BC50FB1: initialize_block (heap.c:239)
==31032==    by 0x7BC5556F: RtlAllocateHeap (heap.c:1717)
==31032==    by 0x4F8442B: IMalloc_fnAlloc (ifs.c:187)
==31032==    by 0x4F84CCB: IMalloc_Alloc (objidl.h:1405)
==31032==    by 0x4F84CCB: CoTaskMemAlloc (???:0)
==31032==    by 0x4FC6B6E: RemUnknown_RemQueryInterface (stubmanager.c:716)
==31032==    by 0x4FD0274: IRemUnknown_RemQueryInterface_Stub (dcom_p.c:369)
==31032==    by 0x56B8358: CStdStubBuffer_Invoke (cstub.c:478)
==31032==    by 0x4FA326E: IRpcStubBuffer_Invoke (objidl.h:7878)
==31032==    by 0x4FA326E: RPC_ExecuteCall (???:0)
==31032==    by 0x4FA36D8: dispatch_rpc (rpc.c:1503)
==31032==    by 0x56E803A: process_request_packet (rpc_server.c:439)
==31032==    by 0x56E8553: RPCRT4_process_packet (rpc_server.c:517)
==31032==    by 0x56E86B9: RPCRT4_worker_thread (rpc_server.c:539)
==31032==    by 0x7BC9E2D7: process_rtl_work_item (threadpool.c:349)
==31032==    by 0x7BCA2224: threadpool_worker_proc (threadpool.c:2112)
==31032==    by 0x7BC913B3: ??? (signal_i386.c:2700)
==31032==    by 0x7BC9143B: call_thread_func (signal_i386.c:2759)
==31032==    by 0x7BC91391: ??? (signal_i386.c:2700)
==31032==    by 0x7BC9B3EE: start_thread (thread.c:487)
==31032==    by 0x4244249: start_thread (pthread_create.c:333)
==31032==

-- 
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