mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-13 19:58:45 +08:00
19b3ddac2f
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().