[Scummvm-cvs-logs] SF.net SVN: scummvm:[40197] scummvm/trunk/engines/kyra/staticres.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Wed Apr 29 13:31:59 CEST 2009
Revision: 40197
http://scummvm.svn.sourceforge.net/scummvm/?rev=40197&view=rev
Author: lordhoto
Date: 2009-04-29 11:31:59 +0000 (Wed, 29 Apr 2009)
Log Message:
-----------
Fix out of bounds array access (as reported by DrMcCoy).
Modified Paths:
--------------
scummvm/trunk/engines/kyra/staticres.cpp
Modified: scummvm/trunk/engines/kyra/staticres.cpp
===================================================================
--- scummvm/trunk/engines/kyra/staticres.cpp 2009-04-29 10:37:00 UTC (rev 40196)
+++ scummvm/trunk/engines/kyra/staticres.cpp 2009-04-29 11:31:59 UTC (rev 40197)
@@ -1867,7 +1867,7 @@
_soundData[1].fileList = pcMusicFileListIngame;
_soundData[1].fileListLen = 1;
_soundData[2].fileList = pcMusicFileListFinale;
- _soundData[3].fileListLen = 1;
+ _soundData[2].fileListLen = 1;
} else if (_flags.platform == Common::kPlatformPC98) {
_soundData[0].fileList = pc98MusicFileListIntro;
_soundData[0].fileListLen = ARRAYSIZE(pc98MusicFileListIntro);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list