NitroHack
NitroHack copied to clipboard
Dip and name prompt crashes with long (80+ char) called and individual names
To reproduce (in wizmode):
- Wish for any unidentified item (e.g. bag of holding).
- #name n and give it an 80+ character object class name.
- #name y and give it an 80+ character individual object name.
- #name y and leave the prompt.
At this point the game crashes. It also crashes when step 4 is replaced with any action that creates a dipping prompt. UnNetHack fixes these for the name prompt (r660) and the dipping prompts (r662).