mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-17 02:17:07 +00:00
Separately checking the state of a file before operating on it may allow an attacker to modify the file between the two operations. (CWE-367) Fix by using fstat() instead of stat().