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@winehq.org ReportedBy: dank@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)
https://bugs.winehq.org/show_bug.cgi?id=28797
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #1 from Austin English austinenglish@gmail.com --- I don't see this in git.
https://bugs.winehq.org/show_bug.cgi?id=28797
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.18.