[PATCH] dsound: do not allow adding a NULL ptr as buffer in DirectSoundDevice_AddBuffer()
pierre at reactos.org
Wed Dec 24 07:55:12 CST 2014
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.
Pierre Schweitzer <pierre at reactos.org>
System & Network Administrator
Senior Kernel Developer
ReactOS Deutschland e.V.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 893 bytes
Desc: not available
More information about the wine-patches