http://bugs.winehq.org/show_bug.cgi?id=28714
Bug #: 28714 Summary: vbscript/run.ok: invalid write in DispatchEx_Release Product: Wine Version: 1.3.30 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: vbscript AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com Classification: Unclassified
Looks like valgrind caught some wild pointer references:
Invalid write of size 4 at DispatchEx_Release (list.h:98) by parse_script (run.c:889) by parse_script_a (run.c:902) by func_run (run.c:1055) by run_test (test.h:556) by main (test.h:624) Address 0x7f0012a0 is 1,672 bytes inside a block of size 2,048 free'd at RtlFreeHeap (heap.c:262) by HeapFree (heap.c:272) by set_additional_environment (process.c:545) by __wine_kernel_init (process.c:1169) by __wine_process_init (loader.c:2877) by wine_init (loader.c:831) by main (main.c:230)
Invalid write of size 4 at DispatchEx_Release (list.h:98) by parse_script (run.c:889) by parse_script_a (run.c:902) by func_run (run.c:1056) by run_test (test.h:556) by main (test.h:624) Address 0x7f05db88 is 216 bytes inside a block of size 236 free'd at RtlFreeHeap (heap.c:262) by destroy_script (vbscript.h:347) by decrease_state (vbscript.c:173) by VBScript_Close (vbscript.c:340) by parse_script (run.c:887) by parse_script_a (run.c:902) by func_run (run.c:1056) by run_test (test.h:556) by main (test.h:624)
etc. There are about 24 of these errors.
http://bugs.winehq.org/show_bug.cgi?id=28714
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #1 from Jacek Caban jacek@codeweavers.com 2011-10-14 06:57:08 CDT --- Patch sent (based on logs, untested on Valgrind):
http://www.winehq.org/pipermail/wine-patches/2011-October/107866.html
http://bugs.winehq.org/show_bug.cgi?id=28714
--- Comment #2 from Dan Kegel dank@kegel.com 2011-10-14 08:36:43 CDT --- The patch seems to work - I saw no valgrind errors in vbscript after applying it. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=28714
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c90c39304f29348c5de08c5d254 | |4433d556721da Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #3 from Austin English austinenglish@gmail.com 2011-10-14 14:28:04 CDT --- (In reply to comment #2)
The patch seems to work - I saw no valgrind errors in vbscript after applying it. Thanks!
http://source.winehq.org/git/wine.git/commitdiff/c90c39304f29348c5de08c5d254...
http://bugs.winehq.org/show_bug.cgi?id=28714
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2011-10-21 13:49:09 CDT --- Closing bugs fixed in 1.3.31.