ports/83016: most-4.10.1 often fails to read input from the mini-buffer
Kevin Oberman
oberman at es.net
Tue Jul 5 16:50:13 UTC 2005
>Number: 83016
>Category: ports
>Synopsis: most-4.10.1 often fails to read input from the mini-buffer
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 05 16:50:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Kevin Oberman
>Release: FreeBSD 5.3-STABLE i386
>Organization:
ESnet--The Energy Sciences Network
>Environment:
System: FreeBSD pak.es.net 5.3-STABLE FreeBSD 5.3-STABLE #36: Tue Mar 1 13:05:49 PST 2005 oberman at pak.es.net:/usr/obj/usr/src/sys/PAKv5 i386
>Description:
most will often fail wit the message "Aborted!" when command are
entered. Compiling without -O2 temporarily resolved this, but
the problem re-appeared aver libslang was updated.
>How-To-Repeat:
Start most(1) on a test file. Enter '/' and any string followed by
<Enter>.
>Fix:
Initialize the variable 'i' in most_read_from_minibuffer.
--- most-4.10.1/src/windows.c.orig Fri Jul 1 15:28:52 2005
+++ most-4.10.1/src/windows.c Fri Jul 1 15:29:11 2005
@@ -238,7 +238,7 @@
int most_read_from_minibuffer(char *prompt, char *what, unsigned int buflen)
{
- int i;
+ int i = 0;
char *buf;
unsigned int len;
I have sent this fix to the author of most, but have not receeived any
response after several days. (He may be on vacation.)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list