fixes entry for pull request #937 - stale memory

Pull request from entrez:  memory freed when changing levels could be
accessed if the level change happened when hero caused an engulfer to
expel him onto a level teleporter.  Wouldn't happen when monsters are
moving because hero's level change will be deferred.  Wouldn't happen
for trap doors and holes, but could happen for magic portal if hero
got swallowed while on one after coming through from other side.

Fixes #937
This commit is contained in:
PatR
2022-11-30 14:58:59 -08:00
parent 5cf6042ca4
commit 67a27a22b8

View File

@@ -1062,6 +1062,9 @@ teleporting an object out of a shop put it on the shop bill instead of dealing
with robbery
map browsing during gold detection didn't describe fake gold marking traps
when detection was via cursed scroll
if hero's action caused engulfer to expel swallowed hero, it might do so onto
a level teleporter and then have its memory accessed after being
freed when current level was saved in order to load destination level
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository