diff options
author | Eugene Sandulenko | 2013-12-31 18:06:25 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2013-12-31 18:06:25 +0200 |
commit | fa472d31185424c66b5687c2b8812efe2bd8fe8e (patch) | |
tree | 6be09275f75ea326bd8847a834e145342f39c798 | |
parent | f643fd8fea0f62282b9a8cf784755d6d16f921a8 (diff) | |
download | scummvm-rg350-fa472d31185424c66b5687c2b8812efe2bd8fe8e.tar.gz scummvm-rg350-fa472d31185424c66b5687c2b8812efe2bd8fe8e.tar.bz2 scummvm-rg350-fa472d31185424c66b5687c2b8812efe2bd8fe8e.zip |
FULLPIPE: Fix out-of-bounds read.
-rw-r--r-- | engines/fullpipe/scenes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes.cpp b/engines/fullpipe/scenes.cpp index 835f324ef6..d2dc6214ec 100644 --- a/engines/fullpipe/scenes.cpp +++ b/engines/fullpipe/scenes.cpp @@ -259,7 +259,7 @@ int FullpipeEngine::convertScene(int scene) { } int FullpipeEngine::getSceneEntrance(int scene) { - for (int i = 0; i < 41; i++) + for (int i = 0; i < 40; i++) if (scenes[i] == scene) return scenesD[i]; |