avoid more QBUFSZ buffer overflows
Several places were not using safe_qbuf or anything equivalent to avoid overflowing a QBUFSZ buffer. Add more uses plus one special case. For the current max lengths returned by xname(), I think this is sufficient. This addresses a reported buffer overflow for a "thoroughly rusty thoroughly corroded helm of opposite alignment", plus more.
This commit is contained in:
@@ -96,6 +96,7 @@ further digging of an existing hole finishes in a single turn
|
||||
only prefix shopkeeper names with "Mr." or "Ms." when not a personal name
|
||||
green slime should not affect noncorporeal monsters
|
||||
land mine explosion will destroy a drawbridge at same location
|
||||
avoid some more buffer overflows in query buffers containing object names
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
Reference in New Issue
Block a user