[winealsa.drv] Don't return garbage if can't find active channel

Dan Kegel dank at kegel.com
Mon Jan 14 00:51:24 CST 2008


mixerGetControlDetails() returned a garbage
value if it couldn't find the active channel,
so I follow an example from a bit further down
in the code and instead return an error in that case.
Should fix Coverity CID 537.

 dlls/winealsa.drv/mixer.c |    6 ++++++
 1 file changed, 6 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mixer-coverity-537.patch
Type: text/x-patch
Size: 605 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080113/7ac0aa8c/attachment.bin 


More information about the wine-patches mailing list