From b1d59665d872aad45e8b2c6745a574275f20998b Mon Sep 17 00:00:00 2001 From: PatR Date: Fri, 25 Feb 2022 22:44:17 -0800 Subject: [PATCH] Fixes entry for pull request #685 - place_object From argrath: in place_object(object, x, y), validate before using them as indices into level.objects[][] instead of after. Closes #685 --- doc/fixes3-7-0.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index 6e197ab7b..9e8b35ab5 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -823,6 +823,7 @@ if a lit potion of oil on the floor was launched by an explosion and it hit and killed the hero via missile damage rather than its own explosion, it could trigger an "obj_is_local" panic when end of game cleanup tried to extinguish it as a light source +place_object() validated coordinates after using them to index level.objects Fixes to 3.7.0-x Problems that Were Exposed Via git Repository