avoid crash for long lines in nethackrc
read_config_file() has used a buffer of size (4 * BUFSZ) since 3.4.x so parse_config_line() needs a buffer of the same size to avoid buffer overrun. Allows my old .nethackrc to work again.
This commit is contained in:
@@ -13,6 +13,7 @@ message when cursed wand zapped by a monster happens to explode was suppressed
|
||||
if hero was deaf, even though that message has no audible component
|
||||
support explicit 'symset:default' and 'symset:Default symbols' in options
|
||||
crash during startup if player name set as 'player' in defaults
|
||||
crash during startup if defaults file has a long line
|
||||
any existing vampire shape-shifted into critter (fog cloud, bat, wolf) became
|
||||
an unkillable critter if vampires were genocided
|
||||
unlike in previous versions, an uncursed scroll of enchant armor failed to
|
||||
|
||||
Reference in New Issue
Block a user