[Bug 46344] valgrind shows some invalid reads in mshtml/tests/htmldoc.c

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Dec 22 02:10:00 CST 2018


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

--- Comment #1 from Austin English <austinenglish at gmail.com> ---
This also shows up in (at least) msi/tests/install.c:
../../../tools/runtest -q -P wine -T ../../.. -M msi.dll -p msi_test.exe.so
install && touch install.ok
==19047== Thread 6:
==19047== Syscall param writev(vector[...]) points to uninitialised byte(s)
==19047==    at 0x4356813: writev (writev.c:26)
==19047==    by 0x7BC75457: send_request (server.c:228)
==19047==    by 0x7BC76158: server_call_unlocked (server.c:288)
==19047==    by 0x7BC761AD: wine_server_call (server.c:321)
==19047==    by 0x7BC419E5: server_write_file (file.c:621)
==19047==    by 0x7BC43FCB: NtWriteFile (file.c:1229)
==19047==    by 0x4DD3016: rpcrt4_conn_np_write (rpc_transport.c:416)
==19047==    by 0x4DC574C: rpcrt4_conn_write (rpc_binding.h:197)
==19047==    by 0x4DC6FD0: RPCRT4_SendWithAuth (rpc_message.c:850)
==19047==    by 0x4DC7CE2: RPCRT4_Send (rpc_message.c:1249)
==19047==    by 0x4DC98DD: process_request_packet (rpc_server.c:462)
==19047==    by 0x4DCA5EE: RPCRT4_process_packet (rpc_server.c:517)
==19047==    by 0x4DCA67F: RPCRT4_worker_thread (rpc_server.c:539)
==19047==    by 0x7BC85243: process_rtl_work_item (threadpool.c:349)
==19047==    by 0x7BC867A7: threadpool_worker_proc (threadpool.c:2126)
==19047==    by 0x7BC77F0F: ??? (in
/home/austin/wine-valgrind/dlls/ntdll/ntdll.dll.so)
==19047==    by 0x7BC7B2D5: call_thread_func (signal_i386.c:2654)
==19047==    by 0x7BC77F01: ??? (in
/home/austin/wine-valgrind/dlls/ntdll/ntdll.dll.so)
==19047==  Address 0x4960778 is 56 bytes inside a recently re-allocated block
of size 188 alloc'd
==19047==    at 0x7BC483AD: notify_alloc (heap.c:260)
==19047==    by 0x7BC4B8D1: RtlAllocateHeap (heap.c:1726)
==19047==    by 0x4DC7086: RPCRT4_SendWithAuth (rpc_message.c:809)
==19047==    by 0x4DC7CE2: RPCRT4_Send (rpc_message.c:1249)
==19047==    by 0x4DC98DD: process_request_packet (rpc_server.c:462)
==19047==    by 0x4DCA5EE: RPCRT4_process_packet (rpc_server.c:517)
==19047==    by 0x4DCA67F: RPCRT4_worker_thread (rpc_server.c:539)
==19047==    by 0x7BC85243: process_rtl_work_item (threadpool.c:349)
==19047==    by 0x7BC867A7: threadpool_worker_proc (threadpool.c:2126)
==19047==    by 0x7BC77F0F: ??? (in
/home/austin/wine-valgrind/dlls/ntdll/ntdll.dll.so)
==19047==    by 0x7BC7B2D5: call_thread_func (signal_i386.c:2654)
==19047==    by 0x7BC77F01: ??? (in
/home/austin/wine-valgrind/dlls/ntdll/ntdll.dll.so)
==19047==  Uninitialised value was created by a client request
==19047==    at 0x7BC4831C: mark_block_uninitialized (heap.c:214)
==19047==    by 0x7BC4A643: initialize_block (heap.c:245)
==19047==    by 0x7BC4B8E7: RtlAllocateHeap (heap.c:1727)
==19047==    by 0x4F93671: heap_alloc (heap.h:29)
==19047==    by 0x4F957C2: MIDL_user_allocate (custom.c:71)
==19047==    by 0x4FCA09A: marshal_record (record.c:1124)
==19047==    by 0x4FBEFF3: s_remote_ViewGetColumnInfo (msiquery.c:1208)
==19047==    by 0x4FEC2D0: IWineMsiRemote_remote_ViewGetColumnInfo
(winemsi_s.c:527)==19047==    by 0x4DC95EB: process_request_packet
(rpc_server.c:439)
==19047==    by 0x4DCA5EE: RPCRT4_process_packet (rpc_server.c:517)
==19047==    by 0x4DCA67F: RPCRT4_worker_thread (rpc_server.c:539)
==19047==    by 0x7BC85243: process_rtl_work_item (threadpool.c:349)
==19047==    by 0x7BC867A7: threadpool_worker_proc (threadpool.c:2126)
==19047==    by 0x7BC77F0F: ??? (in
/home/austin/wine-valgrind/dlls/ntdll/ntdll.dll.so)
==19047==    by 0x7BC7B2D5: call_thread_func (signal_i386.c:2654)
==19047==    by 0x7BC77F01: ??? (in
/home/austin/wine-valgrind/dlls/ntdll/ntdll.dll.so)
==19047==

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