From c845a765a52011ebed7e18ebb63f33ea4cf98526 Mon Sep 17 00:00:00 2001 From: nhmall Date: Wed, 9 Feb 2022 16:16:36 -0500 Subject: [PATCH] pr #675 and pr #676 --- doc/fixes3-7-0.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index b70838afb..3d1353d86 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -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