From: PatR Date: Sat, 26 Feb 2022 06:44:17 +0000 (-0800) Subject: Fixes entry for pull request #685 - place_object X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b1d59665d872aad45e8b2c6745a574275f20998b;p=nethack 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 --- 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