NitroHack icon indicating copy to clipboard operation
NitroHack copied to clipboard

Dip and name prompt crashes with long (80+ char) called and individual names

Open tung opened this issue 13 years ago • 0 comments

To reproduce (in wizmode):

  1. Wish for any unidentified item (e.g. bag of holding).
  2. #name n and give it an 80+ character object class name.
  3. #name y and give it an 80+ character individual object name.
  4. #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).

tung avatar Aug 29 '12 13:08 tung