Subject: pkg/15866: Frotz >= 2.41 crashes if Ctrl-@ or Ctrl-Space is pressed.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dgriffi@cs.csubak.edu>
List: netbsd-bugs
Date: 03/11/2002 00:44:34
>Number: 15866
>Category: pkg
>Synopsis: Frotz >= 2.41 crashes if Ctrl-@ or Ctrl-Space is pressed.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 11 00:45:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: David Griffith
>Release:
>Organization:
>Environment:
>Description:
Zero is the character code returned by curses when the user types Ctrl-@ (or Ctrl-Space). It is also ZC_TIME_OUT. If the user accidentally hits Ctrl-@, a bogus ZC_TIME_OUT is returned from unix_read_char() in ux_input.c. This causes Frotz to crash with the message ">Fatal error: Call to non-routine".
>How-To-Repeat:
Start a zcode game with either 2.40 or 2.41. Get a command line, then type ^@ or ^space. Watch the interpreter crash. Utter great obscenities because you forgot to save the game before the cat danced on the keyboard.
>Fix:
Upgrade to Frotz 2.42.
>Release-Note:
>Audit-Trail:
>Unformatted: