From 67a27a22b8d215fcd106429e78711c0fdf4daffd Mon Sep 17 00:00:00 2001 From: PatR Date: Wed, 30 Nov 2022 14:58:59 -0800 Subject: [PATCH] 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 --- doc/fixes3-7-0.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index 9ad9daf94..fbafc3f6f 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -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