[PATCH] dsound: do not allow adding a NULL ptr as buffer in DirectSoundDevice_AddBuffer()
nsivov at codeweavers.com
Wed Dec 24 08:20:31 CST 2014
On 12/24/2014 04:55 PM, Pierre Schweitzer wrote:
> 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.
Please add a test for that.
More information about the wine-devel