dplayx: Fix possible NULL pointer deferrence. (Coverity)

Kai Blin kai.blin at gmail.com
Wed Sep 10 04:20:09 CDT 2008


Above, the code makes sure lpData != NULL if DPRECEIVE_PEEK is not set.
It never handled lpData == NULL && dwFlags & DPRECEIVE_PEEK.
---
 dlls/dplayx/dplay.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 116d62437666330b982da77dc171bfde73594ad5.diff
Type: text/x-patch
Size: 501 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080910/6b00b62a/attachment.bin 


More information about the wine-patches mailing list