SDL/src
Simon McVittie ef1fdf11bd tray: Create tray icons for libappindicator securely
If we write directly to filenames in /tmp, we're subject to
time-of-check/time-of-use symlink attacks on most systems (although
recent Linux kernels mitigate these by default). We can avoid these
attacks by securely creating a directory owned by our own uid,
and doing all our file I/O in that directory. Other uids cannot create
symbolic links in that directory, so we are protected from symlink
attacks.

This does not protect us from an attacker that is running with the same
uid, but if such an attacker exists, then we have already lost.

Resolves: https://github.com/libsdl-org/SDL/issues/11887
Signed-off-by: Simon McVittie <smcv@collabora.com>
2025-01-08 07:26:02 -08:00
..
atomic Updated copyright for 2025 2025-01-01 07:45:52 -08:00
audio wasapi: Don't crash/hang if transitioning to/from a Remote Desktop Connection. 2025-01-05 21:53:35 -05:00
camera camera: Favor v4l2 over pipewire, for now. 2025-01-04 16:11:57 -05:00
core Updated to version 3.1.9 for development 2025-01-07 17:51:00 -08:00
cpuinfo Updated copyright for 2025 2025-01-01 07:45:52 -08:00
dialog Updated copyright for 2025 2025-01-01 07:45:52 -08:00
dynapi Fixed ABI compatibility with 3.1.6 2025-01-07 17:32:59 -08:00
events Updated copyright for 2025 2025-01-01 07:45:52 -08:00
file Updated copyright for 2025 2025-01-01 07:45:52 -08:00
filesystem Updated copyright for 2025 2025-01-01 07:45:52 -08:00
gpu [GPU] Fix crash in nvidia user-mode win32 driver when game window is minimized during swapchain resize (#11848) 2025-01-04 10:25:08 -08:00
haptic Updated copyright for 2025 2025-01-01 07:45:52 -08:00
hidapi Improved Steam Controller detection on iOS 2025-01-06 17:16:23 -08:00
joystick Added SDL_HINT_JOYSTICK_ENHANCED_REPORTS 2025-01-02 17:18:09 -08:00
libm Updated copyright for 2025 2025-01-01 07:45:52 -08:00
loadso Updated copyright for 2025 2025-01-01 07:45:52 -08:00
locale Fixed language detection on iOS 2025-01-03 15:27:08 -08:00
main Updated copyright for 2025 2025-01-01 07:45:52 -08:00
misc Updated copyright for 2025 2025-01-01 07:45:52 -08:00
power Updated copyright for 2025 2025-01-01 07:45:52 -08:00
process Fixed warning C4389: '==': signed/unsigned mismatch 2025-01-06 12:03:45 -08:00
render opengl: use GL_UNSIGNED_BYTE instead of GL_UNSIGNED_INT_8_8_8_8_REV. 2025-01-07 16:08:56 -05:00
sensor Updated copyright for 2025 2025-01-01 07:45:52 -08:00
stdlib stdlib: Reworked SDL_vswprintf to be more efficient and return correct values. 2025-01-04 21:55:07 -05:00
storage Updated copyright for 2025 2025-01-01 07:45:52 -08:00
test tests: avoid undefined signed overflow 2025-01-04 01:06:29 +01:00
thread Updated copyright for 2025 2025-01-01 07:45:52 -08:00
time Updated copyright for 2025 2025-01-01 07:45:52 -08:00
timer Updated copyright for 2025 2025-01-01 07:45:52 -08:00
tray tray: Create tray icons for libappindicator securely 2025-01-08 07:26:02 -08:00
video windows: Catch WM_POINTERCAPTURECHANGED events. 2025-01-07 10:22:15 -05:00
SDL.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_assert.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_assert_c.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_error.c Don't log SDL errors by default 2025-01-02 17:32:10 -08:00
SDL_error_c.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_guid.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_hashtable.c SDL_hashtable: don't use assert from libc 2025-01-02 01:15:28 +01:00
SDL_hashtable.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_hints.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_hints_c.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_internal.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_list.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_list.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_log.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_log_c.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_properties.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_properties_c.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_utils.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_utils_c.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00