[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] Stack overflow in vi mode when repeating dd
From: |
Chet Ramey |
Subject: |
Re: [Bug-readline] Stack overflow in vi mode when repeating dd |
Date: |
Tue, 10 Jul 2012 11:02:29 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 |
On 7/10/12 10:08 AM, Andreas Henriksson wrote:
> Hello,
>
> Apologies if this bug has already been reported. :)
>
> To reproduce the crash, in vi mode, type
> <ESC>dd.
>
> I discovered the problem in bash, and confirmed that it was a readline
> problem with a minimal example. My readline version is 6.2.002 (as
> distributed in Arch Linux, if it helps).
It showed up on the RedHat bugzilla a little while ago, and I fixed it at
the beginning of June. Try the attached patch and see if it works for you.
It fixes the problem for me.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/
readline-vi-redo.patch
Description: Source code patch