Re: revert-all-at-newline history segfault

2014-06-30 Thread Chet Ramey
-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

revert-all-at-newline history segfault

2014-06-25 Thread Jared Yanovich
Hi, with the following in .inputrc: set revert-all-at-newline on a segfault can be produced in bash: echo $'set -o emacs\npwd\n\cp\ca\cd\ce\cu./sort\n\cp\ca#\npwd\n\cp\ca\cd\ce\cp\cp' | ./bash --norc -i bash-4.3$ set -o emacs bash-4.3$ pwd /Users/yanovich/b/bash bash-4.3$ ./sort