From b32a445a2cd3d05f217b9af31c393e4b2cc20209 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Sat, 10 May 2003 21:16:39 +0000 Subject: [PATCH] final qbuf patch This is my final src mod to ensure that a qbuf does not overflow due to a lengthy named object. These recent patches, coupled with the core yn_function() patch earlier, should make it much rarer for a QBUFSZ buffer overflow to occur in a window port routine (unless the window port routine has its own bugs, but that isn't the core's fault). --- doc/fixes34.2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/fixes34.2 b/doc/fixes34.2 index c5a274f89..be3c90e55 100644 --- a/doc/fixes34.2 +++ b/doc/fixes34.2 @@ -50,7 +50,8 @@ give more explicit feedback for exploding bag of holding help display for "list of game options" misformats runmode and scroll_amount pit created by land mine explosion doesn't start out concealed update map display sooner when pushed boulder triggers land mine explosion -prevent fatal error from prompt string overflow in lift_object() +prevent several QBUFSZ sized buffers from overflowing and triggering fatal + errors inside window port prompt routines make sure that leashed monsters are released prior to shopkeeper inheriting dead character's inventory attaching long named candle to long named candelabrum caused buffer overflow