[Bug 36170] New: valgrind shows an unitialized variable in programs/cmd/tests/batch.c (WCMD_output_asis_len)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Apr 29 20:33:16 CDT 2014


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

            Bug ID: 36170
           Summary: valgrind shows an unitialized variable in
                    programs/cmd/tests/batch.c (WCMD_output_asis_len)
           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 at winehq.org
          Reporter: austinenglish at gmail.com

==4054== Use of uninitialised value of size 4
==4054==    at 0x40416D4: wcstombs_sbcs_slow (wctomb.c:246)
==4054==    by 0x4041E49: wine_cp_wcstombs (wctomb.c:452)
==4054==    by 0x7B850EDC: WideCharToMultiByte (locale.c:2142)
==4054==    by 0x4EF85DE: WCMD_output_asis_len (wcmdmain.c:113)
==4054==    by 0x4EF88A5: WCMD_output_stderr (wcmdmain.c:173)
==4054==    by 0x4EF51AA: WCMD_assoc (builtins.c:4758)
==4054==    by 0x4EFC2F7: WCMD_execute (wcmdmain.c:1594)
==4054==    by 0x4EFDE52: WCMD_process_commands (wcmdmain.c:2294)
==4054==    by 0x4EE6FD0: WCMD_batch (batch.c:95)
==4054==    by 0x4EFB0A0: WCMD_run_program (wcmdmain.c:1187)
==4054==    by 0x4EFC383: WCMD_execute (wcmdmain.c:1618)
==4054==    by 0x4EFDE52: WCMD_process_commands (wcmdmain.c:2294)
==4054==    by 0x4EFECE7: wmain (wcmdmain.c:2590)
==4054==    by 0x4EFF24A: __wine_spec_exe_wentry (exe_wentry.c:36)
==4054==    by 0x7B8641DB: ??? (process.c:1045)
==4054==    by 0x7B864328: start_process (process.c:1097)
==4054==    by 0x7BC87017: ??? (signal_i386.c:2571)
==4054==    by 0x7BC87060: call_thread_func (signal_i386.c:2630)
==4054==    by 0x7BC86FF5: ??? (signal_i386.c:2571)
==4054==    by 0x7BC5A14C: start_process (loader.c:2840)
==4054==  Uninitialised value was created by a stack allocation
==4054==    at 0x4EF4BBA: WCMD_assoc (builtins.c:4619)
==4054==

-- 
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