[Bug 28797] New: comctl32/tests/listview.ok triggers uninitialized memory read of local variable in NC_DrawCaption()

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Oct 18 16:07:25 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28797

             Bug #: 28797
           Summary: comctl32/tests/listview.ok triggers uninitialized
                    memory read of local variable in NC_DrawCaption()
           Product: Wine
           Version: 1.3.30
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: user32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com
    Classification: Unclassified


Here's the valgrind log (with -O0, on ubuntu 11.10):

Conditional jump or move depends on uninitialised value(s)
    strlenW (unicode.h:200)
    DrawTextExW (text.c:886)
    DrawTextW (text.c:1132)
    NC_DrawCaption (nonclient.c:978)
    NC_DoNCPaint (nonclient.c:1062)
    NC_HandleNCActivate (nonclient.c:1153)
    DEFWND_DefWinProc (defwnd.c:404)
    DefWindowProcA (defwnd.c:918)
    parent_wnd_proc (listview.c:436)
    ??? (winproc.c:172)
    call_window_proc (winproc.c:242)
    WINPROC_call_window (winproc.c:899)
    call_window_proc (message.c:2211)
    send_message (message.c:3084)
    SendMessageW (message.c:3264)
    set_active_window (focus.c:152)
    set_foreground_window (focus.c:207)
    SetForegroundWindow (focus.c:306)
    USER_SetWindowPos (winpos.c:2103)
    SetWindowPos (winpos.c:2151)
    show_window (winpos.c:1088)
    ShowWindow (winpos.c:1186)
    WIN_CreateWindowEx (win.c:1498)
    CreateWindowExW (win.c:1582)
    create_parent_window (listview.c:489)
    test_notifyformat (listview.c:3943)
    func_listview (listview.c:4831)
    run_test (test.h:556)
    main (test.h:624)
 Uninitialised value was created by a stack allocation
   at NC_DrawCaption (nonclient.c:913)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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