https://bugs.winehq.org/show_bug.cgi?id=36163
Bug ID: 36163 Summary: valgrind shows an unitialized variable in programs/cmd/tests/batch.c Product: Wine Version: 1.7.17 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com
==18147== Conditional jump or move depends on uninitialised value(s) ==18147== at 0x401B9C5: real_length (sortkey.c:329) ==18147== by 0x401B9E3: wine_compare_string (sortkey.c:338) ==18147== by 0x7B852F44: CompareStringEx (locale.c:3016) ==18147== by 0x7B852D0A: CompareStringW (locale.c:2979) ==18147== by 0x4B1D493: WCMD_setshow_default (builtins.c:3316) ==18147== by 0x4B281B6: WCMD_execute (wcmdmain.c:1487) ==18147== by 0x4B29F36: WCMD_process_commands (wcmdmain.c:2294) ==18147== by 0x4B130E0: WCMD_batch (batch.c:95) ==18147== by 0x4B27185: WCMD_run_program (wcmdmain.c:1187) ==18147== by 0x4B28467: WCMD_execute (wcmdmain.c:1618) ==18147== by 0x4B29F36: WCMD_process_commands (wcmdmain.c:2294) ==18147== by 0x4B2ADC4: wmain (wcmdmain.c:2590) ==18147== by 0x4B2B328: __wine_spec_exe_wentry (exe_wentry.c:36) ==18147== by 0x7B864247: ??? (process.c:1045) ==18147== by 0x7B864394: start_process (process.c:1097) ==18147== by 0x7BC87087: ??? (signal_i386.c:2571) ==18147== by 0x7BC870D0: call_thread_func (signal_i386.c:2630) ==18147== by 0x7BC87065: ??? (signal_i386.c:2571) ==18147== by 0x7BC5A1C0: start_process (loader.c:2840) ==18147== by 0x401B03C: ??? (port.c:60) ==18147== Uninitialised value was created by a client request ==18147== at 0x7BC4C52C: mark_block_uninitialized (heap.c:209) ==18147== by 0x7BC4C697: initialize_block (heap.c:240) ==18147== by 0x7BC50FA3: RtlAllocateHeap (heap.c:1717) ==18147== by 0x4B2544E: heap_alloc (wcmdmain.c:444) ==18147== by 0x4B27671: WCMD_execute (wcmdmain.c:1310) ==18147== by 0x4B29F36: WCMD_process_commands (wcmdmain.c:2294) ==18147== by 0x4B130E0: WCMD_batch (batch.c:95) ==18147== by 0x4B27185: WCMD_run_program (wcmdmain.c:1187) ==18147== by 0x4B28467: WCMD_execute (wcmdmain.c:1618) ==18147== by 0x4B29F36: WCMD_process_commands (wcmdmain.c:2294) ==18147== by 0x4B2ADC4: wmain (wcmdmain.c:2590) ==18147== by 0x4B2B328: __wine_spec_exe_wentry (exe_wentry.c:36) ==18147== by 0x7B864247: ??? (process.c:1045) ==18147== by 0x7B864394: start_process (process.c:1097) ==18147== by 0x7BC87087: ??? (signal_i386.c:2571) ==18147== by 0x7BC870D0: call_thread_func (signal_i386.c:2630) ==18147== by 0x7BC87065: ??? (signal_i386.c:2571) ==18147== by 0x7BC5A1C0: start_process (loader.c:2840) ==18147== by 0x401B03C: ??? (port.c:60) ==18147==
https://bugs.winehq.org/show_bug.cgi?id=36163
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |valgrind
https://bugs.winehq.org/show_bug.cgi?id=36163
Thomas Faller tfaller.dev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tfaller.dev@gmail.com
--- Comment #1 from Thomas Faller tfaller.dev@gmail.com --- I've submitted a patch for this issue:
http://source.winehq.org/patches/data/111948
https://bugs.winehq.org/show_bug.cgi?id=36163
--- Comment #2 from Thomas Faller tfaller.dev@gmail.com --- This issue was fixed by 43dfe7637670d51ddab43c487e772109b7708fc8 Please can someone mark this bug as RESOLVED FIXED. Thank you.
https://bugs.winehq.org/show_bug.cgi?id=36163
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |43dfe7637670d51ddab43c487e7 | |72109b7708fc8 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Thomas Faller from comment #2)
This issue was fixed by 43dfe7637670d51ddab43c487e772109b7708fc8 Please can someone mark this bug as RESOLVED FIXED. Thank you.
Fixed.
https://bugs.winehq.org/show_bug.cgi?id=36163
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.50.