http://bugs.winehq.org/show_bug.cgi?id=28823
Bug #: 28823 Summary: riched20/tests/editor.ok: TRACE() of uninitialized value triggered by test_word_movement()? Product: Wine Version: 1.3.30 Platform: x86 OS/Version: Linux Status: NEW Severity: trivial Priority: P2 Component: richedit AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
Valgrind complains:
Conditional jump or move depends on uninitialised value(s) at _itoa_word (_itoa.c:196) by vfprintf (vfprintf.c:1619) by vsprintf (iovsprintf.c:43) by sprintf (sprintf.c:34) by default_dbgstr_wn (debug.c:374) by NTDLL_dbgstr_wn (debugtools.c:107) by wine_dbgstr_wn (debug.c:421) by debugstr_wn (debug.h:257) by ME_WordBreakProc (string.c:183) by ME_CallWordBreakProc (string.c:214) by ME_MoveCursorWords (caret.c:741) by ME_ArrowKey (caret.c:1579) by ME_KeyDown (editor.c:2110) by ME_HandleMessage (editor.c:4028) by RichEditWndProc_common (editor.c:4499) by RichEditWndProcA (editor.c:4524) by ??? (winproc.c:172) by call_window_proc (winproc.c:242) by WINPROC_call_window (winproc.c:908) by call_window_proc (message.c:2211) by send_message (message.c:3084) by SendMessageA (message.c:3286) by send_ctrl_key (editor.c:4665) by test_word_movement (editor.c:5952) Uninitialised value was created by a client request at mark_block_uninitialized (heap.c:208) by initialize_block (heap.c:239) by RtlAllocateHeap (heap.c:1703) by heap_alloc (editor.h:30) by ME_MakeStringB (string.c:39) by ME_MakeStringN (string.c:46) by ME_InsertRunAtCursor (run.c:372) by ME_InternalInsertTextFromCursor (caret.c:467) by ME_InsertTextFromCursor (caret.c:541) by ME_HandleMessage (editor.c:3565) by RichEditWndProc_common (editor.c:4499) by RichEditWndProcA (editor.c:4524) by ??? (winproc.c:172) by call_window_proc (winproc.c:242) by WINPROC_call_window (winproc.c:908) by call_window_proc (message.c:2211) by send_message (message.c:3084) by SendMessageA (message.c:3286) by test_word_movement (editor.c:5947)