[Bug 38849] New: valgrind shows an unitialized variable in programs/cmd/tests/batch.c:WCMD_assoc

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jun 30 21:50:06 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=38849

            Bug ID: 38849
           Summary: valgrind shows an unitialized variable in
                    programs/cmd/tests/batch.c:WCMD_assoc
           Product: Wine
           Version: 1.7.46
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase, valgrind
          Severity: normal
          Priority: P2
         Component: cmd
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com
      Distribution: ---

../../../tools/runtest -q -P wine -T ../../.. -M cmd.exe -p cmd.exe_test.exe.so
batch && touch batch.ok
==13413== Conditional jump or move depends on uninitialised value(s)
==13413==    at 0x7B841A61: strlenW (unicode.h:200)
==13413==    by 0x7B841ED4: format_insert (format_msg.c:160)
==13413==    by 0x7B842936: format_message (format_msg.c:391)
==13413==    by 0x7B843087: FormatMessageW (format_msg.c:617)
==13413==    by 0x4ADE451: WCMD_output_stderr (wcmdmain.c:166)
==13413==    by 0x4ADB08E: WCMD_assoc (builtins.c:4759)
==13413==    by 0x4AE18EB: WCMD_execute (wcmdmain.c:1592)
==13413==    by 0x4AE30AB: WCMD_process_commands (wcmdmain.c:2292)
==13413==    by 0x4ACDFD6: WCMD_batch (batch.c:95)
==13413==    by 0x4AE08C1: WCMD_run_program (wcmdmain.c:1185)
==13413==    by 0x4AE1979: WCMD_execute (wcmdmain.c:1616)
==13413==    by 0x4AE30AB: WCMD_process_commands (wcmdmain.c:2292)
==13413==    by 0x4AE3E90: wmain (wcmdmain.c:2588)
==13413==    by 0x4AE431F: __wine_spec_exe_wentry (exe_wentry.c:36)
==13413==    by 0x7B860807: ??? (process.c:1052)
==13413==    by 0x7B860949: start_process (process.c:1104)
==13413==    by 0x7BC81E27: ??? (signal_i386.c:2682)
==13413==    by 0x7BC81E6E: call_thread_func (signal_i386.c:2741)
==13413==    by 0x7BC81E05: ??? (signal_i386.c:2682)
==13413==    by 0x7BC57806: start_process (loader.c:2868)
==13413==  Uninitialised value was created by a stack allocation
==13413==    at 0x4ADAB4F: WCMD_assoc (builtins.c:4620)
==13413== 

==13413== Conditional jump or move depends on uninitialised value(s)
==13413==    at 0x7B841AA6: strcpyW (unicode.h:207)
==13413==    by 0x7B841F13: format_insert (format_msg.c:161)
==13413==    by 0x7B842936: format_message (format_msg.c:391)
==13413==    by 0x7B843087: FormatMessageW (format_msg.c:617)
==13413==    by 0x4ADE451: WCMD_output_stderr (wcmdmain.c:166)
==13413==    by 0x4ADB08E: WCMD_assoc (builtins.c:4759)
==13413==    by 0x4AE18EB: WCMD_execute (wcmdmain.c:1592)
==13413==    by 0x4AE30AB: WCMD_process_commands (wcmdmain.c:2292)
==13413==    by 0x4ACDFD6: WCMD_batch (batch.c:95)
==13413==    by 0x4AE08C1: WCMD_run_program (wcmdmain.c:1185)
==13413==    by 0x4AE1979: WCMD_execute (wcmdmain.c:1616)
==13413==    by 0x4AE30AB: WCMD_process_commands (wcmdmain.c:2292)
==13413==    by 0x4AE3E90: wmain (wcmdmain.c:2588)
==13413==    by 0x4AE431F: __wine_spec_exe_wentry (exe_wentry.c:36)
==13413==    by 0x7B860807: ??? (process.c:1052)
==13413==    by 0x7B860949: start_process (process.c:1104)
==13413==    by 0x7BC81E27: ??? (signal_i386.c:2682)
==13413==    by 0x7BC81E6E: call_thread_func (signal_i386.c:2741)
==13413==    by 0x7BC81E05: ??? (signal_i386.c:2682)
==13413==    by 0x7BC57806: start_process (loader.c:2868)
==13413==  Uninitialised value was created by a stack allocation
==13413==    at 0x4ADAB4F: WCMD_assoc (builtins.c:4620)
==13413== 

==13413== Conditional jump or move depends on uninitialised value(s)
==13413==    at 0x7B84296B: format_message (format_msg.c:392)
==13413==    by 0x7B843087: FormatMessageW (format_msg.c:617)
==13413==    by 0x4ADE451: WCMD_output_stderr (wcmdmain.c:166)
==13413==    by 0x4ADB08E: WCMD_assoc (builtins.c:4759)
==13413==    by 0x4AE18EB: WCMD_execute (wcmdmain.c:1592)
==13413==    by 0x4AE30AB: WCMD_process_commands (wcmdmain.c:2292)
==13413==    by 0x4ACDFD6: WCMD_batch (batch.c:95)
==13413==    by 0x4AE08C1: WCMD_run_program (wcmdmain.c:1185)
==13413==    by 0x4AE1979: WCMD_execute (wcmdmain.c:1616)
==13413==    by 0x4AE30AB: WCMD_process_commands (wcmdmain.c:2292)
==13413==    by 0x4AE3E90: wmain (wcmdmain.c:2588)
==13413==    by 0x4AE431F: __wine_spec_exe_wentry (exe_wentry.c:36)
==13413==    by 0x7B860807: ??? (process.c:1052)
==13413==    by 0x7B860949: start_process (process.c:1104)
==13413==    by 0x7BC81E27: ??? (signal_i386.c:2682)
==13413==    by 0x7BC81E6E: call_thread_func (signal_i386.c:2741)
==13413==    by 0x7BC81E05: ??? (signal_i386.c:2682)
==13413==    by 0x7BC57806: start_process (loader.c:2868)
==13413==    by 0x4018FB4: ??? (port.c:60)
==13413==  Uninitialised value was created by a stack allocation
==13413==    at 0x4ADAB4F: WCMD_assoc (builtins.c:4620)
==13413== 

==13413== Conditional jump or move depends on uninitialised value(s)
==13413==    at 0x7B841A61: strlenW (unicode.h:200)
==13413==    by 0x7B8430A2: FormatMessageW (format_msg.c:621)
==13413==    by 0x4ADE451: WCMD_output_stderr (wcmdmain.c:166)
==13413==    by 0x4ADB08E: WCMD_assoc (builtins.c:4759)
==13413==    by 0x4AE18EB: WCMD_execute (wcmdmain.c:1592)
==13413==    by 0x4AE30AB: WCMD_process_commands (wcmdmain.c:2292)
==13413==    by 0x4ACDFD6: WCMD_batch (batch.c:95)
==13413==    by 0x4AE08C1: WCMD_run_program (wcmdmain.c:1185)
==13413==    by 0x4AE1979: WCMD_execute (wcmdmain.c:1616)
==13413==    by 0x4AE30AB: WCMD_process_commands (wcmdmain.c:2292)
==13413==    by 0x4AE3E90: wmain (wcmdmain.c:2588)
==13413==    by 0x4AE431F: __wine_spec_exe_wentry (exe_wentry.c:36)
==13413==    by 0x7B860807: ??? (process.c:1052)
==13413==    by 0x7B860949: start_process (process.c:1104)
==13413==    by 0x7BC81E27: ??? (signal_i386.c:2682)
==13413==    by 0x7BC81E6E: call_thread_func (signal_i386.c:2741)
==13413==    by 0x7BC81E05: ??? (signal_i386.c:2682)
==13413==    by 0x7BC57806: start_process (loader.c:2868)
==13413==    by 0x4018FB4: ??? (port.c:60)
==13413==  Uninitialised value was created by a stack allocation
==13413==    at 0x4ADAB4F: WCMD_assoc (builtins.c:4620)
==13413== 

==13413== Conditional jump or move depends on uninitialised value(s)
==13413==    at 0x7B841AA6: strcpyW (unicode.h:207)
==13413==    by 0x7B843144: FormatMessageW (format_msg.c:633)
==13413==    by 0x4ADE451: WCMD_output_stderr (wcmdmain.c:166)
==13413==    by 0x4ADB08E: WCMD_assoc (builtins.c:4759)
==13413==    by 0x4AE18EB: WCMD_execute (wcmdmain.c:1592)
==13413==    by 0x4AE30AB: WCMD_process_commands (wcmdmain.c:2292)
==13413==    by 0x4ACDFD6: WCMD_batch (batch.c:95)
==13413==    by 0x4AE08C1: WCMD_run_program (wcmdmain.c:1185)
==13413==    by 0x4AE1979: WCMD_execute (wcmdmain.c:1616)
==13413==    by 0x4AE30AB: WCMD_process_commands (wcmdmain.c:2292)
==13413==    by 0x4AE3E90: wmain (wcmdmain.c:2588)
==13413==    by 0x4AE431F: __wine_spec_exe_wentry (exe_wentry.c:36)
==13413==    by 0x7B860807: ??? (process.c:1052)
==13413==    by 0x7B860949: start_process (process.c:1104)
==13413==    by 0x7BC81E27: ??? (signal_i386.c:2682)
==13413==    by 0x7BC81E6E: call_thread_func (signal_i386.c:2741)
==13413==    by 0x7BC81E05: ??? (signal_i386.c:2682)
==13413==    by 0x7BC57806: start_process (loader.c:2868)
==13413==    by 0x4018FB4: ??? (port.c:60)
==13413==  Uninitialised value was created by a stack allocation
==13413==    at 0x4ADAB4F: WCMD_assoc (builtins.c:4620)
==13413==

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list