https://bugs.winehq.org/show_bug.cgi?id=38911
Bug ID: 38911 Summary: valgrind shows uninitialized memory in dlls/amstream/amstream.c:ddrawstreamsample_create() Product: Wine Version: 1.7.47 Hardware: x86 OS: Linux Status: NEW Keywords: download, source, testcase, valgrind Severity: normal Priority: P2 Component: amstream Assignee: wine-bugs@winehq.org Reporter: austinenglish@gmail.com Distribution: ---
../../../tools/runtest -q -P wine -T ../../.. -M amstream.dll -p amstream_test.exe.so amstream && touch amstream.ok preloader: Warning: failed to reserve range 00110000-68000000 preloader: Warning: failed to reserve range 7f000000-82000000 ==20720== Conditional jump or move depends on uninitialised value(s) ==20720== at 0x49177BD: ddraw_surface_create (surface.c:5966) ==20720== by 0x48ED113: ddraw1_CreateSurface (ddraw.c:2937) ==20720== by 0x5E891E0: ddrawstreamsample_create (mediastream.c:1007) ==20720== by 0x5E87609: DirectDrawMediaStreamImpl_IDirectDrawMediaStream_CreateSample (mediastream.c:387) ==20720== by 0x479B37D: IDirectDrawMediaStream_CreateSample (ddstream.h:261) ==20720== by 0x479B37D: test_media_streams (???:0) ==20720== by 0x479D13A: func_amstream (amstream.c:563) ==20720== by 0x479DEF3: run_test (test.h:584) ==20720== by 0x479E33A: main (test.h:666) ==20720== Uninitialised value was created by a stack allocation ==20720== at 0x5E89034: ddrawstreamsample_create (mediastream.c:962) ==20720==