[PATCH] dsound: do not allow adding a NULL ptr as buffer in DirectSoundDevice_AddBuffer()
Pierre Schweitzer
pierre at reactos.org
Wed Dec 24 07:55:12 CST 2014
Dear all,
Please find attach a patch which prevents DirectSoundDevice_AddBuffer()
from accepting NULL pointers.
It results from a bugfix & testing here. While trying to start Steam
Lego Star Wars, I was experiencing an invalid address dereference in
DSOUND_ChangeListener() (line 312).
Adding this check makes the game work properly (with sound). I tested it.
Cheers,
--
Pierre Schweitzer <pierre at reactos.org>
System & Network Administrator
Senior Kernel Developer
ReactOS Deutschland e.V.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dsound-do-not-allow-adding-a-NULL-ptr-as-buffer-in-D.patch
Type: text/x-patch
Size: 893 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20141224/cded6cce/attachment.bin>
More information about the wine-patches
mailing list