SDL/src
Sam Lantinga 27f2df2292 Check for NULL before dereferencing newly allocated memory
Fixes https://github.com/libsdl-org/SDL/issues/8289

(cherry picked from commit 70a1bc6973)
2023-09-24 17:18:41 -07:00
..
atomic Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
audio emscriptenaudio: Fire the capture silence_callback at an interval. 2023-08-23 16:25:30 -04:00
core SDL_dbus.h: define DBUS_TIMEOUT_USE_DEFAULT if not already defined. 2023-09-21 01:32:50 +03:00
cpuinfo Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
dynapi updated dynapi after SDL_GDKGetDefaultUser addition 2023-08-25 19:03:40 +03:00
events Sync -Wsign-compare warning fix from sdl2-compat 2023-08-09 02:53:48 +02:00
file SDL_RWFromMem, SDL_RWFromConstMem: reject negative size parameters. 2023-07-10 00:14:35 +03:00
filesystem – gdk: Add SDL_GDKGetDefaultUser, SDL_GetPrefPath implementation 2023-08-25 10:41:14 -04:00
haptic Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
hidapi Quiet spurious warning 2023-08-13 13:54:18 -07:00
joystick Check for NULL before dereferencing newly allocated memory 2023-09-24 17:18:41 -07:00
libm Updated copyright for 2023 2023-01-09 09:48:21 -08:00
loadso Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
locale Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
main Unaligned stacks on i686-w64-mingw32, may lead to crashes (#7607) 2023-07-10 03:05:32 +03:00
misc emscripten: Add JS library dependencies using EM_JS_DEPS macro 2023-07-06 18:15:49 -04:00
power Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
render render: Enable clipping for zero-sized rectangles 2023-09-09 11:14:04 -07:00
sensor Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) 2023-03-09 15:23:59 -08:00
stdlib Fix overflow when doing SDL_sscanf("%hd", ...) 2023-08-10 15:06:57 -07:00
test Allow running tests with the dummy video driver 2023-08-10 08:25:29 -07:00
thread Unaligned stacks on i686-w64-mingw32, may lead to crashes (#7607) 2023-07-10 03:05:32 +03:00
timer Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
video emscripten: Restore compatibility with existing emsdk releases. 2023-09-20 14:35:51 -04:00
SDL.c Unaligned stacks on i686-w64-mingw32, may lead to crashes (#7607) 2023-07-10 03:05:32 +03:00
SDL_assert.c emscripten: Restore compatibility with existing emsdk releases. 2023-09-20 14:35:51 -04:00
SDL_assert_c.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_dataqueue.c Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
SDL_dataqueue.h dataqueue: Make thread safe. 2023-03-02 16:43:44 -05:00
SDL_error.c Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
SDL_error_c.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_guid.c Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_hints.c Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
SDL_hints_c.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_internal.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_list.c Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_list.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_log.c Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
SDL_log_c.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_utils.c Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_utils_c.h Don't bother re-encoding Latin1 characters in the ASCII range 2023-06-04 05:40:07 -07:00