[Bug 46340] comctl32/tests/edit.c shows uninitialized memory use

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Dec 22 02:26:30 CST 2018


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

Austin English <austinenglish at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|comctl32//tests/edit.c      |comctl32/tests/edit.c shows
                   |shows uninitialized memory  |uninitialized memory use
                   |use                         |

--- Comment #1 from Austin English <austinenglish at gmail.com> ---
Also shows up in ole32/tests/clipboard.c:

../../../tools/runtest -q -P wine -T ../../.. -M ole32.dll -p ole32_test.exe.so
clipboard && touch clipboard.ok
==17967== Syscall param writev(vector[...]) points to uninitialised byte(s)
==17967==    at 0x4356813: writev (writev.c:26)
==17967==    by 0x7BC75457: send_request (server.c:228)
==17967==    by 0x7BC76158: server_call_unlocked (server.c:288)
==17967==    by 0x7BC761AD: wine_server_call (server.c:321)
==17967==    by 0x5221D1B: SetClipboardData (clipboard.c:904)
==17967==    by 0x4E5CC9F: set_clipboard_formats (clipboard.c:1904)
==17967==    by 0x4E5CDB2: set_src_dataobject (clipboard.c:2012)
==17967==    by 0x4E5E60A: OleSetClipboard (clipboard.c:2203)
==17967==    by 0x4A80379: test_set_clipboard (clipboard.c:944)
==17967==    by 0x4A83A62: func_clipboard (clipboard.c:1872)
==17967==    by 0x4AD412F: run_test (test.h:617)
==17967==    by 0x4AD4B6D: main (test.h:701)
==17967==  Address 0x495a03a is 34 bytes inside a block of size 128 alloc'd
==17967==    at 0x7BC483AD: notify_alloc (heap.c:260)
==17967==    by 0x7BC4B8D1: RtlAllocateHeap (heap.c:1726)
==17967==    by 0x7B443394: HeapAlloc (heap.c:271)
==17967==    by 0x7B4435F7: GlobalAlloc (heap.c:389)
==17967==    by 0x4E5CAB8: set_clipboard_formats (clipboard.c:1856)
==17967==    by 0x4E5CDB2: set_src_dataobject (clipboard.c:2012)
==17967==    by 0x4E5E60A: OleSetClipboard (clipboard.c:2203)
==17967==    by 0x4A80379: test_set_clipboard (clipboard.c:944)
==17967==    by 0x4A83A62: func_clipboard (clipboard.c:1872)
==17967==    by 0x4AD412F: run_test (test.h:617)
==17967==    by 0x4AD4B6D: main (test.h:701)
==17967==  Uninitialised value was created by a client request
==17967==    at 0x7BC4831C: mark_block_uninitialized (heap.c:214)
==17967==    by 0x7BC4A643: initialize_block (heap.c:245)
==17967==    by 0x7BC4B8E7: RtlAllocateHeap (heap.c:1727)
==17967==    by 0x4A7D3D4: DataObjectImpl_CreateFromHGlobal (clipboard.c:428)
==17967==    by 0x4A7D472: DataObjectImpl_CreateText (clipboard.c:440)
==17967==    by 0x4A801E1: test_set_clipboard (clipboard.c:920)
==17967==    by 0x4A83A62: func_clipboard (clipboard.c:1872)
==17967==    by 0x4AD412F: run_test (test.h:617)
==17967==    by 0x4AD4B6D: main (test.h:701)
==17967==

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