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@winehq.org Reporter: austinenglish@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==
https://bugs.winehq.org/show_bug.cgi?id=38454
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sagawa.aki+winebugs@gmail.c | |om
https://bugs.winehq.org/show_bug.cgi?id=38454
--- Comment #1 from Sagawa sagawa.aki+winebugs@gmail.com --- Fixed by 857b4dcda2e689f21e4703310de86b59b65e4d47 .
https://bugs.winehq.org/show_bug.cgi?id=38454
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |857b4dcda2e689f21e4703310de | |86b59b65e4d47 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Austin English austinenglish@gmail.com --- (In reply to Sagawa from comment #1)
Fixed by 857b4dcda2e689f21e4703310de86b59b65e4d47 .
Yep, thanks.
https://bugs.winehq.org/show_bug.cgi?id=38454
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.43.