http://bugs.winehq.org/show_bug.cgi?id=28811
Bug #: 28811 Summary: Invalid read in else_break triggered by test_ScriptBreak() Product: Wine Version: 1.3.30 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: usp10 AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
In "make usp10.ok" in usp10/tests, valgrind complains:
Invalid read of size 2 at 0x49C6242: else_break (breaking.c:69) by 0x49C70F7: BREAK_line (breaking.c:396) by 0x49D7826: ScriptBreak (usp10.c:1968) by 0x49A8D8B: test_ScriptBreak (usp10.c:2494) by 0x49A95B4: func_usp10 (usp10.c:2591) by 0x49AA2AA: run_test (test.h:556) by 0x49AA6BE: main (test.h:624)
Invalid write of size 2 at 0x49C6251: else_break (breaking.c:69) by 0x49C70F7: BREAK_line (breaking.c:396) by 0x49D7826: ScriptBreak (usp10.c:1968) by 0x49A53A7: test_ScriptTextOut (usp10.c:1646) by 0x49A956F: func_usp10 (usp10.c:2581) by 0x49AA2AA: run_test (test.h:556) by 0x49AA6BE: main (test.h:624)
http://bugs.winehq.org/show_bug.cgi?id=28811
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aric@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=28811
--- Comment #1 from Dan Kegel dank@kegel.com 2011-10-19 12:30:58 CDT --- Also seems to affect user32/tests/edit.ok:
Invalid read of size 2 at else_break (breaking.c:69) by BREAK_line (breaking.c:396) by ScriptBreak (usp10.c:1968) by EDIT_WordBreakProc (edit.c:292) by EDIT_CallWordBreakProc (edit.c:364) by EDIT_BuildLineDefs_ML (edit.c:547) by EDIT_EM_ReplaceSel (edit.c:2465) by EditWndProc_common (edit.c:4565) by EditWndProcA (winproc.c:1076) by ??? (winproc.c:172) by call_window_proc (winproc.c:242) by (winproc.c:908) by call_window_proc (message.c:2211) by send_message (message.c:3084) by SendMessageA (message.c:3286) by test_edit_control_3 (edit.c:997) by func_edit (edit.c:2498) by run_test (test.h:556) by main (test.h:624)
http://bugs.winehq.org/show_bug.cgi?id=28811
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Invalid read in else_break |Invalid read in |triggered by |ScriptBreak() |test_ScriptBreak() |
http://bugs.winehq.org/show_bug.cgi?id=28811
--- Comment #2 from Aric Stewart aric@codeweavers.com 2011-10-19 12:36:25 CDT --- Great thanks!
Patch submitted to correct this.
http://bugs.winehq.org/show_bug.cgi?id=28811
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |250a132545a9704b0dff98bb77b | |14093f9ed2d1a Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #3 from Austin English austinenglish@gmail.com 2011-10-19 15:08:30 CDT --- http://source.winehq.org/git/wine.git/commitdiff/250a132545a9704b0dff98bb77b...
http://bugs.winehq.org/show_bug.cgi?id=28811
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2011-10-21 13:50:34 CDT --- Closing bugs fixed in 1.3.31.