[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: revert-all-at-newline history segfault
From: |
Chet Ramey |
Subject: |
Re: revert-all-at-newline history segfault |
Date: |
Mon, 30 Jun 2014 10:46:12 -0700 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6/25/14, 3:50 PM, Jared Yanovich wrote:
> Hi,
>
> with the following in .inputrc:
>
> set revert-all-at-newline on
>
> a segfault can be produced in bash:
Thanks for the report. This looks like a pointer aliasing problem
resulting in a double free. Your fix seems to be a good one.
Chet
- --
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlOxolkACgkQu1hp8GTqdKvi/gCffQS5+6XN2fTK2lLAADuvGw2P
h+YAn2yChS4o0Cd/akTgEBZ2vd7FYnsL
=0T8p
-----END PGP SIGNATURE-----