aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorSven Hesse2013-04-15 18:35:33 +0200
committerSven Hesse2013-04-15 18:35:33 +0200
commite589bd4525d6939c547d73ada3841c481b76d733 (patch)
tree5548ad1e9294a20945c5490f8cc85713da14a72c /engines/gob
parent3540b943cff7a1d98af66e9425de932532edb63e (diff)
downloadscummvm-rg350-e589bd4525d6939c547d73ada3841c481b76d733.tar.gz
scummvm-rg350-e589bd4525d6939c547d73ada3841c481b76d733.tar.bz2
scummvm-rg350-e589bd4525d6939c547d73ada3841c481b76d733.zip
GOB: Fix another potential array overrun
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/map_v1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/map_v1.cpp b/engines/gob/map_v1.cpp
index 45499b71fe..ce3d584e7f 100644
--- a/engines/gob/map_v1.cpp
+++ b/engines/gob/map_v1.cpp
@@ -148,7 +148,7 @@ void Map_v1::loadMapObjects(const char *avjFile) {
void Map_v1::loadSounds(Common::SeekableReadStream &data) {
int16 count;
char buf[19];
- char sndNames[20][14];
+ char sndNames[20][19];
count = data.readUint16LE();