fixes entry for PR #1037 - use-after-free

when applying an object.

Pull request form copperwater:  applying a cream pie always uses it up
and applying a lump of royal jelly sometimes uses it up, then after
that use the apply got checked for a talking artifact.  If it had been
used up when the apply routine would access memory which had already
been freed.

Closes #1037
This commit is contained in:
PatR
2023-05-23 14:54:14 -07:00
parent d813f534ad
commit 8385d0a10e

View File

@@ -1190,6 +1190,8 @@ covetous monster attacking another monster to acquire special item would not
skip sanity_check handling when current command is ^P, otherwise it might
re-trigger and show new sanity warning every time when set for
line-at-a-line feedback
applying a cream pie (always) or lump of royal jelly (sometimes) would use up
the object and then access its memory after that had been freed
Fixes to 3.7.0-x General Problems Exposed Via git Repository