aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdrian Frühwirth2018-04-18 20:02:08 +0200
committerAdrian Frühwirth2018-04-18 20:18:05 +0200
commitf20015f52668fe94c77e60cbc95bd3d1f6fdbba7 (patch)
tree9436fdfa8fad213e37e80d1428f16743dbe5fcac /test
parentfadce12e69d47f12476ac3ebe04ada0c7c855b02 (diff)
downloadscummvm-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 'test')
0 files changed, 0 insertions, 0 deletions