Subject: lib/18003: libmenu menu mark not properly displayed.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rtr@wasabisystems.com>
List: netbsd-bugs
Date: 08/20/2002 19:48:29
>Number: 18003
>Category: lib
>Synopsis: libmenu menu mark not properly displayed.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 20 03:17:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Tyler Retzlaff
>Release: NetBSD 1.6E
>Organization:
None
>Environment:
System: NetBSD elysium 1.6E NetBSD 1.6E (elysium) #0: Tue Aug 6 07:29:42 EST 2002 rtr@elysium:/wasabi/home/source/co/retry/src/sys/arch/i386/compile/elysium i386
Architecture: i386
Machine: i386
>Description:
since the fix to libmenu correcting the free() of junk pointer to
stale menu_mark and unmark menu mark is not properly displayed
if set by default. In the case of my tests a menu mark of "(X)" and
unmark of "( )" the rightmost character is overwritten with the
menu name on screen.
>How-To-Repeat:
set_menu_mark(NULL, "(X)");
set_menu_unmark(NULL, "( )");
m = new_menu(items);
If entire source example is required please mail.
>Fix:
Since this doesn't occur if you use the set_menu_mark(realmenu, "(X)")
I suspect it's an error in the amount of space being allocated for
the marks resulting in their truncation?
>Release-Note:
>Audit-Trail:
>Unformatted: