[Bug 36809] New: valgrind shows an unitialized variable in dlls/dmscript/tests/dmscript.c

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jun 26 15:17:54 CDT 2014


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

            Bug ID: 36809
           Summary: valgrind shows an unitialized variable in
                    dlls/dmscript/tests/dmscript.c
           Product: Wine
           Version: 1.7.20
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase, valgrind
          Severity: normal
          Priority: P2
         Component: directx-dmusic
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com

==20119== Use of uninitialised value of size 4
==20119==    at 0x427A0CD: _itoa_word (_itoa.c:180)
==20119==    by 0x427D856: vfprintf (vfprintf.c:1634)
==20119==    by 0x429E4E1: vsprintf (iovsprintf.c:42)
==20119==    by 0x428429E: sprintf (sprintf.c:32)
==20119==    by 0x4BC691C: wine_dbgstr_guid (test.h:533)
==20119==    by 0x4BC5B0F: test_scripttrack (dmscript.c:222)
==20119==    by 0x4BC5D40: func_dmscript (dmscript.c:249)
==20119==    by 0x4BC6B3B: run_test (test.h:584)
==20119==    by 0x4BC6F29: main (test.h:654)
==20119==  Uninitialised value was created by a stack allocation
==20119==    at 0x4BC597E: test_scripttrack (dmscript.c:206)
==20119== 

==20119== Conditional jump or move depends on uninitialised value(s)
==20119==    at 0x427A0D3: _itoa_word (_itoa.c:180)
==20119==    by 0x427D856: vfprintf (vfprintf.c:1634)
==20119==    by 0x429E4E1: vsprintf (iovsprintf.c:42)
==20119==    by 0x428429E: sprintf (sprintf.c:32)
==20119==    by 0x4BC691C: wine_dbgstr_guid (test.h:533)
==20119==    by 0x4BC5B0F: test_scripttrack (dmscript.c:222)
==20119==    by 0x4BC5D40: func_dmscript (dmscript.c:249)
==20119==    by 0x4BC6B3B: run_test (test.h:584)
==20119==    by 0x4BC6F29: main (test.h:654)
==20119==  Uninitialised value was created by a stack allocation
==20119==    at 0x4BC597E: test_scripttrack (dmscript.c:206)
==20119== 

==20119== Conditional jump or move depends on uninitialised value(s)
==20119==    at 0x427ADD7: vfprintf (vfprintf.c:1634)
==20119==    by 0x429E4E1: vsprintf (iovsprintf.c:42)
==20119==    by 0x428429E: sprintf (sprintf.c:32)
==20119==    by 0x4BC691C: wine_dbgstr_guid (test.h:533)
==20119==    by 0x4BC5B0F: test_scripttrack (dmscript.c:222)
==20119==    by 0x4BC5D40: func_dmscript (dmscript.c:249)
==20119==    by 0x4BC6B3B: run_test (test.h:584)
==20119==    by 0x4BC6F29: main (test.h:654)
==20119==  Uninitialised value was created by a stack allocation
==20119==    at 0x4BC597E: test_scripttrack (dmscript.c:206)
==20119== 

==20119== Conditional jump or move depends on uninitialised value(s)
==20119==    at 0x427AE43: vfprintf (vfprintf.c:1634)
==20119==    by 0x429E4E1: vsprintf (iovsprintf.c:42)
==20119==    by 0x428429E: sprintf (sprintf.c:32)
==20119==    by 0x4BC691C: wine_dbgstr_guid (test.h:533)
==20119==    by 0x4BC5B0F: test_scripttrack (dmscript.c:222)
==20119==    by 0x4BC5D40: func_dmscript (dmscript.c:249)
==20119==    by 0x4BC6B3B: run_test (test.h:584)
==20119==    by 0x4BC6F29: main (test.h:654)
==20119==  Uninitialised value was created by a stack allocation
==20119==    at 0x4BC597E: test_scripttrack (dmscript.c:206)
==20119== 

==20119== Conditional jump or move depends on uninitialised value(s)
==20119==    at 0x427AEC5: vfprintf (vfprintf.c:1634)
==20119==    by 0x429E4E1: vsprintf (iovsprintf.c:42)
==20119==    by 0x428429E: sprintf (sprintf.c:32)
==20119==    by 0x4BC691C: wine_dbgstr_guid (test.h:533)
==20119==    by 0x4BC5B0F: test_scripttrack (dmscript.c:222)
==20119==    by 0x4BC5D40: func_dmscript (dmscript.c:249)
==20119==    by 0x4BC6B3B: run_test (test.h:584)
==20119==    by 0x4BC6F29: main (test.h:654)
==20119==  Uninitialised value was created by a stack allocation
==20119==    at 0x4BC597E: test_scripttrack (dmscript.c:206)
==20119== 

==20119== Conditional jump or move depends on uninitialised value(s)
==20119==    at 0x402EB3D: bcmp (vg_replace_strmem.c:965)
==20119==    by 0x4BC5B2E: test_scripttrack (dmscript.c:222)
==20119==    by 0x4BC5D40: func_dmscript (dmscript.c:249)
==20119==    by 0x4BC6B3B: run_test (test.h:584)
==20119==    by 0x4BC6F29: main (test.h:654)
==20119==  Uninitialised value was created by a stack allocation
==20119==    at 0x4BC597E: test_scripttrack (dmscript.c:206)
==20119== 

==20119== Conditional jump or move depends on uninitialised value(s)
==20119==    at 0x4BC5F76: winetest_vok (test.h:311)
==20119==    by 0x4BC6184: winetest_ok (test.h:357)
==20119==    by 0x4BC5B4C: test_scripttrack (dmscript.c:222)
==20119==    by 0x4BC5D40: func_dmscript (dmscript.c:249)
==20119==    by 0x4BC6B3B: run_test (test.h:584)
==20119==    by 0x4BC6F29: main (test.h:654)
==20119==  Uninitialised value was created by a stack allocation
==20119==    at 0x4BC597E: test_scripttrack (dmscript.c:206)
==20119==

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