https://bugs.winehq.org/show_bug.cgi?id=36591
Bug ID: 36591 Summary: valgrind shows uninitialized memory use in vbscript/tests/run.c Product: Wine Version: 1.7.19 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: vbscript Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
==15847== Conditional jump or move depends on uninitialised value(s) ==15847== at 0x640F12E: create_vbdisp (vbdisp.c:562) ==15847== by 0x6401297: interp_new (interp.c:1000) ==15847== by 0x64042D5: exec_script (interp.c:2108) ==15847== by 0x6416E7A: exec_global_code (vbscript.c:83) ==15847== by 0x6418A9D: VBScriptParse_ParseScriptText (vbscript.c:623) ==15847== by 0x4CAE686: parse_script (activscp.h:1290) ==15847== by 0x4CAFCE3: run_from_res (run.c:1920) ==15847== by 0x4CB0A25: run_tests (run.c:2068) ==15847== by 0x4CB0C26: func_run (run.c:2119) ==15847== by 0x4CB7083: run_test (test.h:584) ==15847== by 0x4CB7472: main (test.h:654) ==15847== Uninitialised value was created by a client request ==15847== at 0x7BC4C4D6: mark_block_uninitialized (heap.c:209) ==15847== by 0x7BC4C641: initialize_block (heap.c:240) ==15847== by 0x7BC50F4D: RtlAllocateHeap (heap.c:1717) ==15847== by 0x6419759: heap_alloc (vbscript.h:432) ==15847== by 0x6419F6A: heap_pool_alloc (vbscript_main.c:179) ==15847== by 0x63F4302: compiler_alloc (compile.c:121) ==15847== by 0x63F438E: compiler_alloc_string (compile.c:140) ==15847== by 0x63F45F6: push_instr_str (compile.c:212) ==15847== by 0x63F52AD: compile_expression (compile.c:534) ==15847== by 0x63F4DF4: compile_binary_expression (compile.c:465) ==15847== by 0x63F5001: compile_expression (compile.c:492) ==15847== by 0x63F4C14: compile_args (compile.c:404) ==15847== by 0x63F4CBA: compile_member_expression (compile.c:429) ==15847== by 0x63F6335: compile_call_statement (compile.c:980) ==15847== by 0x63F6CCF: compile_statement (compile.c:1214) ==15847== by 0x63F727A: compile_func (compile.c:1361) ==15847== by 0x63F7899: create_function (compile.c:1499) ==15847== by 0x63F86F2: compile_script (compile.c:1843) ==15847== by 0x6418A53: VBScriptParse_ParseScriptText (vbscript.c:614) ==15847== by 0x4CAE686: parse_script (activscp.h:1290) ==15847==
https://bugs.winehq.org/show_bug.cgi?id=36591
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |valgrind
http://bugs.winehq.org/show_bug.cgi?id=36591
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #1 from Jacek Caban jacek@codeweavers.com --- Patch sent:
http://source.winehq.org/patches/data/104983
https://bugs.winehq.org/show_bug.cgi?id=36591
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |2de2e10d47aa27321cb3ba09541 | |05b966fee2ea5 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Austin English austinenglish@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commitdiff/2de2e10d47aa27321cb3ba0954...
Thanks Jacek!
https://bugs.winehq.org/show_bug.cgi?id=36591
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.20.