mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-25 04:01:03 +00:00
0b07029274
Use snprintf() instead of sprintf() to limit how much is written to the buffer. Note that there are other places where it looks like it could overflow, but they did not trigger warnings and I'm guessing that it doesn't overflow in reality.