Subject: lib/9712: libedit has fixed size input buffer
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 03/30/2000 08:55:39
>Synopsis: libedit has fixed size input buffer
>Responsible: lib-bug-people (Library Bug People)
>Arrival-Date: Thu Mar 30 08:51:00 2000
>Originator: Phil Nelson
Western Washington University
>Release: NetBSD-1.4.1 and NetBSD-current March 22, 2000
System: NetBSD nooksack 1.4.1 NetBSD 1.4.1 (NOOKSACK) #0: Thu Aug 26 11:00:53 PDT 1999 phil@middlefork:/puffin/NetBSD-1.4.1/usr/src/sys/arch/i386/compile/NOOKSACK i386
libedit has a fixed size (1024 character) input buffer. It will
not read any more than about 1020 characters. It should be dynamic.
If not that, it should at least be a setable size by el_set.
run bc and try to enter a 1500 digit number on one line.
Change storage from static to dynamic and when out of space,
double the current space (or at least add some increment).
It does cause changes throught the library.