[Bug 38454] New: valgrind shows several uninitialized variables in dlls/winmm/tests/wave.c

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 20 02:59:49 CDT 2015


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

            Bug ID: 38454
           Summary: valgrind shows several uninitialized variables in
                    dlls/winmm/tests/wave.c
           Product: Wine
           Version: 1.7.41
          Hardware: x86
                OS: Linux
            Status: NEW
          Keywords: download, source, testcase, valgrind
          Severity: normal
          Priority: P2
         Component: winmm&mci
          Assignee: wine-bugs at winehq.org
          Reporter: austinenglish at gmail.com
      Distribution: Debian

==17456== Thread 1 winmm_test.exe.so:
==17456== Syscall param write(buf) points to uninitialised byte(s)
==17456==    at 0x421B97B: ??? (syscall-template.S:81)
==17456==    by 0x7BC4477D: NtWriteFile (file.c:1147)
==17456==    by 0x7B83C28B: WriteFile (file.c:570)
==17456==    by 0x7B83C5C2: _hwrite (file.c:719)
==17456==    by 0x48CB625: mmioDosIOProc (mmio.c:119)
==17456==    by 0x48CBCDE: send_message (mmio.c:359)
==17456==    by 0x48CC158: MMIO_Flush (mmio.c:500)
==17456==    by 0x48CD263: mmioSeek (mmio.c:914)
==17456==    by 0x48CE2EE: mmioCreateChunk (mmio.c:1277)
==17456==    by 0x48958C1: create_wav_file (wave.c:1628)
==17456==    by 0x4895C19: test_PlaySound (wave.c:1664)
==17456==    by 0x4895DE0: func_wave (wave.c:1695)
==17456==    by 0x4896B19: run_test (test.h:584)
==17456==    by 0x4896F53: main (test.h:666)
==17456==  Address 0x7f789e44 is 4 bytes inside a recently re-allocated block
of size 8,192 alloc'd
==17456==    at 0x7BC49E0E: notify_alloc (heap.c:254)
==17456==    by 0x7BC4E044: RtlAllocateHeap (heap.c:1715)
==17456==    by 0x48CC3F0: MMIO_SetBuffer (mmio.c:564)
==17456==    by 0x48CC7B1: MMIO_Open (mmio.c:652)
==17456==    by 0x48CCA3F: mmioOpenA (mmio.c:718)
==17456==    by 0x489581A: create_wav_file (wave.c:1620)
==17456==    by 0x4895C19: test_PlaySound (wave.c:1664)
==17456==    by 0x4895DE0: func_wave (wave.c:1695)
==17456==    by 0x4896B19: run_test (test.h:584)
==17456==    by 0x4896F53: main (test.h:666)
==17456==  Uninitialised value was created by a stack allocation
==17456==    at 0x48957B1: create_wav_file (wave.c:1603)
==17456== 

==17456== Conditional jump or move depends on uninitialised value(s)
==17456==    at 0x48CE18E: mmioAscend (mmio.c:1246)
==17456==    by 0x489595D: create_wav_file (wave.c:1632)
==17456==    by 0x4895C19: test_PlaySound (wave.c:1664)
==17456==    by 0x4895DE0: func_wave (wave.c:1695)
==17456==    by 0x4896B19: run_test (test.h:584)
==17456==    by 0x4896F53: main (test.h:666)
==17456==  Uninitialised value was created by a stack allocation
==17456==    at 0x48957B1: create_wav_file (wave.c:1603)
==17456==

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