[Scummvm-git-logs] scummvm branch-2-2 -> db3707bc18cac6e0ffacaca2dcfcba88475b9398
dreammaster
paulfgilbert at gmail.com
Thu Sep 10 02:05:12 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
db3707bc18 GLK: LEVEL9: Fix array overrun
Commit: db3707bc18cac6e0ffacaca2dcfcba88475b9398
https://github.com/scummvm/scummvm/commit/db3707bc18cac6e0ffacaca2dcfcba88475b9398
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2020-09-09T19:04:59-07:00
Commit Message:
GLK: LEVEL9: Fix array overrun
Changed paths:
engines/glk/level9/level9_main.cpp
diff --git a/engines/glk/level9/level9_main.cpp b/engines/glk/level9/level9_main.cpp
index 3cc027e2ea..49f3fb6c9e 100644
--- a/engines/glk/level9/level9_main.cpp
+++ b/engines/glk/level9/level9_main.cpp
@@ -795,7 +795,7 @@ L9BOOL intinitialise(const char *filename, char *picname) {
error("\rWhat appears to be V1 game data was found, but the game was not recognised.\rEither this is an unknown V1 game file or, more likely, it is corrupted.\r");
return FALSE;
}
- for (i = 0; i < 6; i++) {
+ for (i = 0; i < 5; i++) {
int off = g_vm->_detection.v1Game().L9Ptrs[i];
if (off < 0)
L9Pointers[i + 2] = acodeptr + off;
More information about the Scummvm-git-logs
mailing list