]> granicus.if.org Git - nethack/commitdiff
final qbuf patch
authornethack.allison <nethack.allison>
Sat, 10 May 2003 21:16:39 +0000 (21:16 +0000)
committernethack.allison <nethack.allison>
Sat, 10 May 2003 21:16:39 +0000 (21:16 +0000)
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

index c5a274f89d0361e1812dc67a59365b60893debf9..be3c90e55f0e28dc358f47f4a00b1673471710da 100644 (file)
@@ -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