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@winehq.org ReportedBy: dank@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@codeweavers.com Date: Tue Sep 27 08:51:33 2011 -0500
dsound: Reimplement PropertySet on mmdevapi.