Wed, 17 Apr 2013 01:32:06 -0700Fixed bug 1802 - NULL pointer dereference in SDL_AllocRW() if out of memory.
Sam Lantinga [Wed, 17 Apr 2013 01:32:06 -0700] rev 7070
Fixed bug 1802 - NULL pointer dereference in SDL_AllocRW() if out of memory.

Philipp Wiesemann

There is a NULL pointer dereference in SDL_AllocRW() if the system is out of memory. The "type" field is always written. This may be fixed with an early return.

Or an else{} or not writing the field and using slower SDL_calloc().

This fault was recently introduced (http://hg.libsdl.org/SDL/rev/681820ca0e78).

Wed, 17 Apr 2013 00:56:53 -0700Fixed crash in Quartz gamma ramp code SDL-1.2
Sam Lantinga [Wed, 17 Apr 2013 00:56:53 -0700] rev 7069
Fixed crash in Quartz gamma ramp code

Tue, 16 Apr 2013 09:33:33 -0700BMP files don't contain alpha information in the palette, the fourth element is reserved and must be zero.
Sam Lantinga [Tue, 16 Apr 2013 09:33:33 -0700] rev 7068
BMP files don't contain alpha information in the palette, the fourth element is reserved and must be zero.

Tue, 16 Apr 2013 01:05:32 -0400Removed C++-style single-line comments from a public header (thanks, Martin!).
Ryan C. Gordon [Tue, 16 Apr 2013 01:05:32 -0400] rev 7067
Removed C++-style single-line comments from a public header (thanks, Martin!).

Fixes Bugzilla #1803.

Tue, 16 Apr 2013 00:09:48 -0400Maybe actually fix compiler warning this time.
Ryan C. Gordon [Tue, 16 Apr 2013 00:09:48 -0400] rev 7066
Maybe actually fix compiler warning this time.

Mon, 15 Apr 2013 22:49:23 -0400Fixed a compiler warning on Visual Studio.
Ryan C. Gordon [Mon, 15 Apr 2013 22:49:23 -0400] rev 7065
Fixed a compiler warning on Visual Studio.

Sun, 14 Apr 2013 18:05:14 -0400Make the new SDL_RWops::hidden::unknown::data2 field a void*, not an int.
Ryan C. Gordon [Sun, 14 Apr 2013 18:05:14 -0400] rev 7064
Make the new SDL_RWops::hidden::unknown::data2 field a void*, not an int.

Sat, 13 Apr 2013 20:43:32 -0400Added a data2 field to the SDL_RWops::hidden::unknown.
Ryan C. Gordon [Sat, 13 Apr 2013 20:43:32 -0400] rev 7063
Added a data2 field to the SDL_RWops::hidden::unknown.

This shouldn't change the ABI, since this struct had space left in the union.

Sat, 13 Apr 2013 09:45:39 -0700Add test coverage for SDL_SetWindowData and SDL_GetWindowData to Video suite
Andreas Schiffler [Sat, 13 Apr 2013 09:45:39 -0700] rev 7062
Add test coverage for SDL_SetWindowData and SDL_GetWindowData to Video suite

Wed, 10 Apr 2013 22:18:10 -0400Fixed a typo (thanks, Ethan!).
Ryan C. Gordon [Wed, 10 Apr 2013 22:18:10 -0400] rev 7061
Fixed a typo (thanks, Ethan!).