Subject: pkg/30692: dialog crashes when invoked with high width Value
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <zafer@gmx.org>
List: pkgsrc-bugs
Date: 07/08/2005 07:24:00
>Number: 30692
>Category: pkg
>Synopsis: dialog crashes when invoked with high width Value
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jul 08 07:24:00 +0000 2005
>Originator: Zafer Aydogan
>Release: 2.0 i386
>Organization:
>Environment:
2.0 i386
>Description:
misc/dialog crashes (Segmentation Fault) when invoked with a high number for width or height.
--menu <text> <height> <width> <menu height> <tag1> <item1>...
>How-To-Repeat:
dialog --menu 'All' 20 120 15 "aaa" "bbb"
or
dialog --menu 'All' 40 80 15 "aaa" "bbb"
>Fix:
Doesn't crash if Value is 80 instead of 120 (first line)
or 20 instead of 40 (second line).