[Scummvm-git-logs] scummvm master -> ca4dc9b6d4ef526162cc06a7fabc9476e5c58189

dreammaster paulfgilbert at gmail.com
Sun Sep 6 18:42:41 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:
ca4dc9b6d4 GLK: COMPREHEND: Fix array overrun


Commit: ca4dc9b6d4ef526162cc06a7fabc9476e5c58189
    https://github.com/scummvm/scummvm/commit/ca4dc9b6d4ef526162cc06a7fabc9476e5c58189
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2020-09-06T11:42:28-07:00

Commit Message:
GLK: COMPREHEND: Fix array overrun

Changed paths:
    engines/glk/comprehend/game_data.cpp


diff --git a/engines/glk/comprehend/game_data.cpp b/engines/glk/comprehend/game_data.cpp
index 41dc465c5d..ee09087e7a 100644
--- a/engines/glk/comprehend/game_data.cpp
+++ b/engines/glk/comprehend/game_data.cpp
@@ -143,7 +143,7 @@ void GameHeader::clear() {
 	addr_strings = 0;
 	addr_strings_end = 0;
 
-	Common::fill(&addr_actions[0], &addr_actions[8], 0);
+	Common::fill(&addr_actions[0], &addr_actions[7], 0);
 	Common::fill(&room_direction_table[0], &room_direction_table[NR_DIRECTIONS], 0);
 }
 




More information about the Scummvm-git-logs mailing list