Red Hat Bugzilla – Bug 104236
number hot key causes segfault in menu
Last modified: 2007-11-30 17:06:53 EST
Description of problem: In a menu dialog, if the user types a numbered hot key
that is one greater than the number of items in the menu, dialog will segfault,
leaving the terminal settings in a bad state.
Version-Release number of selected component (if applicable): 0.9a-5
How reproducible: very
Steps to Reproduce:
1. dialog --menu foo 0 0 0 bar baz
2. type the number '2'
Actual results: dialog segfauls
Expected results: nothing should happen. Two is not a valid menu item. The
behavior should be the same as when the number '3' is typed.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.