bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH: bash-5.0.0(2)-alpha] fix a bug that "bind -r" sometimes caus


From: Chet Ramey
Subject: Re: [PATCH: bash-5.0.0(2)-alpha] fix a bug that "bind -r" sometimes causes a segmentation fault
Date: Mon, 19 Mar 2018 10:48:06 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 3/19/18 4:52 AM, Koichi Murase wrote:

> Description:
> 
>   At the line lib/readline/bind.c:376, an uninitialized variable `ic'
> is used to assign a value to the variable `prevkey'. This assignment
> to `prevkey' should be later than the assignment to `ic'. This causes
> segmentation faults in Bash of the devel branch. There is no such
> problem in Bash 4.4.

Thanks for the report. I will have a fix in the next devel branch push.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]