[Bug 38911] New: valgrind shows uninitialized memory in dlls/amstream/amstream.c:ddrawstreamsample_create()

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jul 13 21:53:03 CDT 2015


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 at winehq.org
          Reporter: austinenglish at 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==

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