mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-21 17:45:39 +00:00
AGOS: Fix potential buffer overflow.
This commit is contained in:
parent
356ac37471
commit
e5ffd75330
@ -494,7 +494,7 @@ void AGOSEngine_Elvira2::userGame(bool load) {
|
||||
|
||||
i = userGameGetKey(&b, 128);
|
||||
if (b) {
|
||||
if (i <= 223) {
|
||||
if (i <= 23) {
|
||||
if (!confirmOverWrite(window)) {
|
||||
listSaveGames();
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user