]> granicus.if.org Git - nethack/commitdiff
pr #675 and pr #676
authornhmall <nhmall@nethack.org>
Wed, 9 Feb 2022 21:16:36 +0000 (16:16 -0500)
committernhmall <nhmall@nethack.org>
Wed, 9 Feb 2022 21:16:36 +0000 (16:16 -0500)
doc/fixes3-7-0.txt

index b70838afbd0eb109080fb1524519154d30a8f9ce..3d1353d860a83cfa1aec5f01e3e20fa971cc8014 100644 (file)
@@ -1526,6 +1526,13 @@ function fill_special_room() in sp_lev.c was dereferencing a pointer
 function repairable_damage() in shk.c was dereferencing a pointer
        argument prior to a subsequent check for a NULL pointer that
        resulted in an early function return (pr #671 by argrath)
+function savelev() in save.c was dereferencing a NHFILE pointer for
+       nhfp->mode prior to a subsequent check for nhfp being NULL
+       to trigger a call to panic() if it was; move the check for NULL
+       above that usage (pr #675 by argrath)
+function tin_details() in eat.c was passing an obj pointer to
+       tin_variety() where it was dereferenced; move the tin_details()
+       NULL check above that tin_variety() call (pr #676 by argrath)
 
 
 Code Cleanup and Reorganization