[Bug 38672] New: valgrind shows uninitialized memory in set_mwm_hints()

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jun 2 23:07:41 CDT 2015


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

            Bug ID: 38672
           Summary: valgrind shows uninitialized memory in set_mwm_hints()
           Product: Wine
           Version: 1.7.42
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase, valgrind
          Severity: normal
          Priority: P2
         Component: opengl
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com
      Distribution: Fedora

Similar to bug 38593, shows up a lot of tests, this is in
comctl32/tests/listview.c:

../../../tools/runtest -q -P wine -T ../../.. -M comctl32.dll -p
comctl32_test.exe.so listview && touch listview.ok
==11813== Syscall param writev(vector[...]) points to uninitialised byte(s)
==11813==    at 0x4F7A0F23: __writev_nocancel (in /usr/lib/libc-2.21.so)
==11813==    by 0x5E69A28: ??? (in /usr/lib/libxcb.so.1.1.0)
==11813==    by 0x5E69F07: ??? (in /usr/lib/libxcb.so.1.1.0)
==11813==    by 0x5E69FAB: xcb_writev (in /usr/lib/libxcb.so.1.1.0)
==11813==    by 0x5D59113: _XSend (in /usr/lib/libX11.so.6.3.0)
==11813==    by 0x5D594B4: _XFlush (in /usr/lib/libX11.so.6.3.0)
==11813==    by 0x5D379BB: XFlush (in /usr/lib/libX11.so.6.3.0)
==11813==    by 0x5C92C82: X11DRV_WindowPosChanged (window.c:2349)
==11813==    by 0x4D4AEC2: set_window_pos (winpos.c:2147)
==11813==    by 0x4D4B15D: USER_SetWindowPos (winpos.c:2220)
==11813==    by 0x4D4B454: SetWindowPos (winpos.c:2294)
==11813==    by 0x47BCF6A: create_parent_window (listview.c:623)
==11813==    by 0x47D4FB2: func_listview (listview.c:5770)
==11813==    by 0x4833607: run_test (test.h:584)
==11813==    by 0x4833A4F: main (test.h:666)
==11813==  Address 0x58a9d90 is 40 bytes inside a block of size 16,384 alloc'd
==11813==    at 0x4008D02: calloc (vg_replace_malloc.c:626)
==11813==    by 0x5D473B4: XOpenDisplay (in /usr/lib/libX11.so.6.3.0)
==11813==    by 0x5C98E17: x11drv_init_thread_data (x11drv_main.c:658)
==11813==    by 0x5C8CCC1: thread_init_display (x11drv.h:347)
==11813==    by 0x5C914D2: X11DRV_create_win_data (window.c:1796)
==11813==    by 0x5C92264: X11DRV_WindowPosChanging (window.c:2155)
==11813==    by 0x4D4AA16: set_window_pos (winpos.c:2062)
==11813==    by 0x4D400D2: WIN_CreateWindowEx (win.c:1580)
==11813==    by 0x4D40723: CreateWindowExA (win.c:1718)
==11813==    by 0x47BCF50: create_parent_window (listview.c:617)
==11813==    by 0x47D4FB2: func_listview (listview.c:5770)
==11813==    by 0x4833607: run_test (test.h:584)
==11813==    by 0x4833A4F: main (test.h:666)
==11813==  Uninitialised value was created by a stack allocation
==11813==    at 0x5C8EF95: update_net_wm_states (window.c:963)
==11813==

also in d3d9/d3d9ex, d3d9/device, ddraw/dsurface, gdi32/clipping,
imm32/imm32...

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