[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
Re: [PATCH: bash-5.0.0(2)-alpha] fix a bug that "bind -r" sometimes causes a segmentation fault
Mon, 19 Mar 2018 10:48:06 -0400
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:
> 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.
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://tiswww.cwru.edu/~chet/