* RFA: Import a readline bugfix
@ 2004-01-18 19:50 Daniel Jacobowitz
2004-01-29 23:34 ` Elena Zannoni
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2004-01-18 19:50 UTC (permalink / raw)
To: gdb-patches
I was working on an ornery completion bug this morning and stumbled across:
http://ftp.gnu.org/gnu/readline/readline-4.3-patches/readline43-001
This patch fixes an infinite loop in readline on hitting certain keys - on
my terminal one of them is shift-delete, which I hit by accident pretty
frequently. OK to commit this?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
READLINE PATCH REPORT
=====================
Readline-Release: 4.3
Patch-ID: readline43-001
Bug-Reported-by: Thierry Vignaud <tvignaud@mandrakesoft.com>
Bug-Reference-ID: <m2wurdqvo0.fsf@vador.mandrakesoft.com> (bug-readline)
Bug-Reference-URL:
Bug-Description:
Pressing certain key sequences causes an infinite loop in _rl_dispatch_subseq
with the `key' argument set to 256. This eventually causes bash to exceed
the stack size limit and crash with a segmentation violation.
Patch:
*** ../readline-4.3/bind.c Thu Jan 24 11:15:52 2002
--- bind.c Wed Jul 31 09:11:18 2002
***************
*** 312,316 ****
and the function bound to `a' to be executed when the user
types `abx', leaving `bx' in the input queue. */
! if (k.function /* && k.type == ISFUNC */)
{
map[ANYOTHERKEY] = k;
--- 312,316 ----
and the function bound to `a' to be executed when the user
types `abx', leaving `bx' in the input queue. */
! if (k.function && ((k.type == ISFUNC && k.function != rl_do_lowercase_version) || k.type == ISMACR))
{
map[ANYOTHERKEY] = k;
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: RFA: Import a readline bugfix
2004-01-18 19:50 RFA: Import a readline bugfix Daniel Jacobowitz
@ 2004-01-29 23:34 ` Elena Zannoni
2004-01-29 23:38 ` Daniel Jacobowitz
0 siblings, 1 reply; 3+ messages in thread
From: Elena Zannoni @ 2004-01-29 23:34 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb-patches
Daniel Jacobowitz writes:
> I was working on an ornery completion bug this morning and stumbled across:
> http://ftp.gnu.org/gnu/readline/readline-4.3-patches/readline43-001
>
> This patch fixes an infinite loop in readline on hitting certain keys - on
> my terminal one of them is shift-delete, which I hit by accident pretty
> frequently. OK to commit this?
>
I have integrated all the official patches to the current version of readline.
Which include this one.
elena
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: RFA: Import a readline bugfix
2004-01-29 23:34 ` Elena Zannoni
@ 2004-01-29 23:38 ` Daniel Jacobowitz
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Jacobowitz @ 2004-01-29 23:38 UTC (permalink / raw)
To: gdb-patches
On Thu, Jan 29, 2004 at 06:32:12PM -0500, Elena Zannoni wrote:
> Daniel Jacobowitz writes:
> > I was working on an ornery completion bug this morning and stumbled across:
> > http://ftp.gnu.org/gnu/readline/readline-4.3-patches/readline43-001
> >
> > This patch fixes an infinite loop in readline on hitting certain keys - on
> > my terminal one of them is shift-delete, which I hit by accident pretty
> > frequently. OK to commit this?
> >
>
> I have integrated all the official patches to the current version of readline.
> Which include this one.
Yes, thank you.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-01-29 23:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-18 19:50 RFA: Import a readline bugfix Daniel Jacobowitz
2004-01-29 23:34 ` Elena Zannoni
2004-01-29 23:38 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox