Bug 104236

Summary: number hot key causes segfault in menu
Product: Red Hat Enterprise Linux 2.1 Reporter: Jared Smith-Mickelson <jaredsm>
Component: dialogAssignee: Harald Hoyer <harald>
Status: CLOSED ERRATA QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: shillman
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-28 15:53:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jared Smith-Mickelson 2003-09-11 16:07:48 UTC
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.


Additional info:

Comment 4 John Flanagan 2005-04-28 15:53:28 UTC
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.

http://rhn.redhat.com/errata/RHBA-2004-665.html