[prev in list] [next in list] [prev in thread] [next in thread]
List: bash-bug
Subject: Re: [PATCH: bash-5.0.0(2)-alpha] fix a bug that "bind -r" sometimes causes a segmentation fault
From: Chet Ramey <chet.ramey () case ! edu>
Date: 2018-03-19 14:48:06
Message-ID: c1173c34-970a-a074-81b9-3abb83770413 () case ! edu
[Download RAW message or body]
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/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic