diff options
author | Adrian Frühwirth | 2018-04-18 20:02:08 +0200 |
---|---|---|
committer | Adrian Frühwirth | 2018-04-18 20:18:05 +0200 |
commit | f20015f52668fe94c77e60cbc95bd3d1f6fdbba7 (patch) | |
tree | 9436fdfa8fad213e37e80d1428f16743dbe5fcac /engines/agos | |
parent | fadce12e69d47f12476ac3ebe04ada0c7c855b02 (diff) | |
download | scummvm-rg350-f20015f52668fe94c77e60cbc95bd3d1f6fdbba7.tar.gz scummvm-rg350-f20015f52668fe94c77e60cbc95bd3d1f6fdbba7.tar.bz2 scummvm-rg350-f20015f52668fe94c77e60cbc95bd3d1f6fdbba7.zip |
ZVISION: Fix crash when loading a savegame
Commit 00e59a3122 introduced a change to savegame handling which
results in savegame thumbnails only being loaded when necessary.
ZVISION's readSaveGameHeader() doesn't under all circumstances
initialize the thumbnail pointer and 00e59a3122 failed to remove an
otherwise unnecessary delete which resulted in the uninitialized
thumbnail pointer being passed to delete (UB).
Thanks to eriktorbjorn for noticing.
Diffstat (limited to 'engines/agos')
0 files changed, 0 insertions, 0 deletions