diff options
author | Travis Howell | 2010-10-23 02:18:08 +0000 |
---|---|---|
committer | Travis Howell | 2010-10-23 02:18:08 +0000 |
commit | afd677c2c7a7e6dd088f64ff77bcb4fa154b4cc4 (patch) | |
tree | 16eb0b4553135c7b005163437cadf58d7384d74a /engines/scumm/scumm.cpp | |
parent | a82b0435a2f6777fd91c85dc0058c9dbd2568306 (diff) | |
download | scummvm-rg350-afd677c2c7a7e6dd088f64ff77bcb4fa154b4cc4.tar.gz scummvm-rg350-afd677c2c7a7e6dd088f64ff77bcb4fa154b4cc4.tar.bz2 scummvm-rg350-afd677c2c7a7e6dd088f64ff77bcb4fa154b4cc4.zip |
SCUMM: Fix buffer overflow, that was causing crashes when saving in Backyard Baseball 2001/2003.
svn-id: r53726
Diffstat (limited to 'engines/scumm/scumm.cpp')
-rw-r--r-- | engines/scumm/scumm.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp index 68adeeffc2..c5b3dcf4e3 100644 --- a/engines/scumm/scumm.cpp +++ b/engines/scumm/scumm.cpp @@ -210,7 +210,6 @@ ScummEngine::ScummEngine(OSystem *syst, const DetectorResult &dr) _saveLoadSlot = 0; _lastSaveTime = 0; _saveTemporaryState = false; - memset(_saveLoadFileName, 0, sizeof(_saveLoadFileName)); memset(_saveLoadName, 0, sizeof(_saveLoadName)); memset(_localScriptOffsets, 0, sizeof(_localScriptOffsets)); _scriptPointer = NULL; |