Directx5 video crashes in 1.2

Another one for the “How did this ever work?” file: when
DX5_HandleMessage is called with WM_ACTIVATEAPP, it goes past the end
of the 2-element SDL_DIdev array and if there doesn’t happen to be a 0
in the memory next to it, crashes. Patch against SVN attached.

Gregory
-------------- next part --------------
A non-text attachment was scrubbed…
Name: directx5-events.patch
Type: application/octet-stream
Size: 773 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20091114/12e1506e/attachment.obj

Patch applied to subversion, thanks!On Sat, Nov 14, 2009 at 4:12 PM, Gregory Smith wrote:

Another one for the “How did this ever work?” file: when
DX5_HandleMessage is called with WM_ACTIVATEAPP, it goes past the end
of the 2-element SDL_DIdev array and if there doesn’t happen to be a 0
in the memory next to it, crashes. Patch against SVN attached.

Gregory


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


-Sam Lantinga, Founder and President, Galaxy Gameworks LLC