GOB: Fix another potential array overrun
This commit is contained in:
parent
3540b943cf
commit
e589bd4525
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ void Map_v1::loadMapObjects(const char *avjFile) {
|
||||||
void Map_v1::loadSounds(Common::SeekableReadStream &data) {
|
void Map_v1::loadSounds(Common::SeekableReadStream &data) {
|
||||||
int16 count;
|
int16 count;
|
||||||
char buf[19];
|
char buf[19];
|
||||||
char sndNames[20][14];
|
char sndNames[20][19];
|
||||||
|
|
||||||
count = data.readUint16LE();
|
count = data.readUint16LE();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue