aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v100he.cpp
diff options
context:
space:
mode:
authorTravis Howell2005-04-17 14:20:44 +0000
committerTravis Howell2005-04-17 14:20:44 +0000
commitc673f5250e8f740f5520e6f7c77f410532cdeff6 (patch)
tree3db5d305b99defbf11fd7d2bf9e3b3cd27bdd7e9 /scumm/script_v100he.cpp
parentcaae2f00de411c7a26f5d5cd0a31fe23a017e501 (diff)
downloadscummvm-rg350-c673f5250e8f740f5520e6f7c77f410532cdeff6.tar.gz
scummvm-rg350-c673f5250e8f740f5520e6f7c77f410532cdeff6.tar.bz2
scummvm-rg350-c673f5250e8f740f5520e6f7c77f410532cdeff6.zip
Fix buffer overflow regression.
Use same buffer sizes as original. svn-id: r17654
Diffstat (limited to 'scumm/script_v100he.cpp')
-rw-r--r--scumm/script_v100he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v100he.cpp b/scumm/script_v100he.cpp
index b9485cf0b3..893f7066af 100644
--- a/scumm/script_v100he.cpp
+++ b/scumm/script_v100he.cpp
@@ -585,7 +585,7 @@ void ScummEngine_v100he::o100_arrayOps() {
int id, len, b, c;
ArrayHeader *ah;
int list[128];
- byte string[2048];
+ byte string[1024];
debug(1,"o100_arrayOps: case %d", subOp);
switch (subOp) {