[Bug 28745] New: dsound/tests: uninitialized value used in enum_callback() in func_propset()

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Oct 16 03:55:19 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28745

             Bug #: 28745
           Summary: dsound/tests: uninitialized value used in
                    enum_callback() in func_propset()
           Product: Wine
           Version: 1.3.30
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: directx-dsound
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com
    Classification: Unclassified


Running "make propset.ok" in dsound/tests, valgrind complains:

Conditional jump or move depends on uninitialised value(s) 
   at callback (propset.c:69)
   by DSPROPERTY_enumWtoA (propset.c:396)
   by enum_callback (propset.c:306)
   by enumerate_mmdevices (dsound_main.c:555)
   by DSPROPERTY_EnumerateW (propset.c:334)
   by IKsPrivatePropertySetImpl_Get (propset.c:419)
   by func_propset (propset.c:458)
   by run_test (test.h:556)
   by main (test.h:624)
 Uninitialised value was created by a stack allocation
   at enum_callback (propset.c:282)

I haven't bisected, but lots of the related code is new, from:

commit 8856ea79f3468d6f532f5f20e9b28c295d6e1db1
Author: Andrew Eikum <aeikum at codeweavers.com>
Date:   Tue Sep 27 08:51:33 2011 -0500

    dsound: Reimplement PropertySet on mmdevapi.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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