SDL/src
Simon McVittie 2a7948016a cpuinfo: Check for overflow in SIMD allocation
If the size to be allocated is very large and untrusted, then adding
the padding etc. might be enough to cause unsigned overflow, after
which a very small amount of memory will be allocated.

Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-05-09 21:31:39 -07:00
..
atomic move bug #5333 fix to headers 2022-02-08 21:32:50 +03:00
audio audio: Revert one of the resampler optimizations. 2022-04-28 15:58:39 -04:00
core Fixed building with Visual Studio 2013 2022-05-06 10:51:55 -07:00
cpuinfo cpuinfo: Check for overflow in SIMD allocation 2022-05-09 21:31:39 -07:00
dynapi Add support for the Nokia N-Gage (#5597) 2022-05-03 08:51:49 -07:00
events Add new verbosity level for logging of `SDL_SysWMEvent`s 2022-05-02 15:33:13 -07:00
file allow MacOS build without SDL_FILE 2022-01-28 20:40:19 -05:00
filesystem use explicit GetModuleFileNameW 2022-04-18 14:12:22 -04:00
haptic re-use return value of SDL_SetError/WIN_SetErrorFromHRESULT/SDL_OutOfMemory 2022-01-28 20:40:19 -05:00
hidapi hidapi, libusb: import mainstream commit 536bad201e 2022-04-23 20:01:40 +03:00
joystick Added support for the Backbone One guide button 2022-05-06 09:07:36 -07:00
libm Add SDL_FLOATWORDORDER for older ARM toolchains 2022-05-04 09:52:11 -07:00
loadso use SDL_InvalidParamError or SDL_assert instead of custom SDL_SetError 2022-01-28 20:40:19 -05:00
locale Vita: add SDL_GetPreferredLocales support 2022-03-29 15:02:21 -07:00
main Switch versioning scheme to be the same as GLib and Flatpak 2022-05-04 09:55:35 -07:00
misc minor update to winrt/SDL_sysurl.cpp 2022-02-04 20:03:50 +03:00
power Don't fail to get battery status if the upower refresh call fails 2022-02-04 14:02:44 -08:00
render Disallow non-positive allocation. 2022-04-29 18:34:13 -07:00
sensor Removed problematic call to ISensor_SetEventSink() 2022-03-17 10:01:13 -07:00
stdlib Don't define memcpy(), memset() when using static VC runtime. 2022-05-07 08:10:52 -07:00
test Added a define VERBOSE_MOTION_EVENTS to show mouse and finger motion events 2022-04-05 15:03:18 -07:00
thread Add support for the Nokia N-Gage (#5597) 2022-05-03 08:51:49 -07:00
timer Add support for the Nokia N-Gage (#5597) 2022-05-03 08:51:49 -07:00
video video: restore ability to disable fb accel via hint 2022-05-04 08:35:13 -07:00
SDL.c build: Mechanically generate ABI versions from version number 2022-05-04 09:55:35 -07:00
SDL_assert.c assert: Allow messages of any length. 2022-04-29 10:39:02 -07:00
SDL_assert_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_dataqueue.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_dataqueue.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_error.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_error_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_hints.c Handle potential out of memory condition when working with hints 2022-04-21 08:47:41 -07:00
SDL_hints_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_internal.h Fixed building with Visual Studio 2013 2022-05-06 10:51:55 -07:00
SDL_list.c Add SDL_list.c/h 2022-04-01 08:01:44 +02:00
SDL_list.h Add SDL_list.c/h 2022-04-01 08:01:44 +02:00
SDL_log.c Fixed building with Visual Studio 2013 2022-05-06 10:51:55 -07:00
SDL_log_c.h Added declaration of SDL_LogInit() and SDL_LogQuit() 2022-04-28 15:01:34 -07:00