[Bug 36585] New: valgrind shows uninitialized memory use in user32/tests/edit.c

wine-bugs at winehq.org wine-bugs at winehq.org
Thu May 29 15:52:23 CDT 2014


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

            Bug ID: 36585
           Summary: valgrind shows uninitialized memory use in
                    user32/tests/edit.c
           Product: Wine
           Version: 1.7.19
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase
          Severity: normal
          Priority: P2
         Component: user32
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com

../../../tools/runtest -q -P wine -T ../../.. -M user32.dll -p
user32_test.exe.so edit && touch edit.ok
preloader: Warning: failed to reserve range 00110000-68000000
preloader: Warning: failed to reserve range 7f000000-82000000
==4864== Use of uninitialised value of size 4
==4864==    at 0x403DC86: mbstowcs_sbcs (mbtowc.c:88)
==4864==    by 0x403E430: wine_cp_mbstowcs (mbtowc.c:278)
==4864==    by 0x7B850B05: MultiByteToWideChar (locale.c:2031)
==4864==    by 0x52560FB: EDIT_EM_SetHandle (edit.c:2821)
==4864==    by 0x525C68C: EditWndProc_common (edit.c:4728)
==4864==    by 0x52CDFCA: EditWndProcA (winproc.c:1077)
==4864==    by 0x52CB4F5: ??? (winproc.c:173)
==4864==    by 0x52CB66A: call_window_proc (winproc.c:244)
==4864==    by 0x52CD8B9: WINPROC_call_window (winproc.c:909)
==4864==    by 0x528A11C: call_window_proc (message.c:2223)
==4864==    by 0x528CFBA: send_message (message.c:3260)
==4864==    by 0x528D649: SendMessageA (message.c:3476)
==4864==    by 0x4DD5C07: test_EM_GETHANDLE (edit.c:2700)
==4864==    by 0x4DD61E2: func_edit (edit.c:2785)
==4864==    by 0x4E93978: run_test (test.h:584)
==4864==    by 0x4E93D67: main (test.h:654)
==4864==  Uninitialised value was created by a client request
==4864==    at 0x7BC4C4D6: mark_block_uninitialized (heap.c:209)
==4864==    by 0x7BC4C641: initialize_block (heap.c:240)
==4864==    by 0x7BC50F4D: RtlAllocateHeap (heap.c:1717)
==4864==    by 0x7B8457FF: HeapAlloc (heap.c:271)
==4864==    by 0x7B845B34: GlobalAlloc (heap.c:388)
==4864==    by 0x7B846E63: LocalAlloc (heap.c:967)
==4864==    by 0x4DD5AD5: test_EM_GETHANDLE (edit.c:2686)
==4864==    by 0x4DD61E2: func_edit (edit.c:2785)
==4864==    by 0x4E93978: run_test (test.h:584)
==4864==    by 0x4E93D67: main (test.h:654)
==4864==

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