Re: [PATCH] NULL dereference on EOF in heredoc with history on

2009-03-22 Thread Lubomir Rintel
On Sun, 2009-03-22 at 13:03 -0400, Chet Ramey wrote: > Lubomir Rintel wrote: > > > Bash Version: 4.0 > > Patch Level: 10 > > Release Status: release > > > > Description: > > If the heredoc input is terminted with end-of-file by pressing ^D > > while history is on, bash enters an infinite

Re: [PATCH] NULL dereference on EOF in heredoc with history on

2009-03-22 Thread Chet Ramey
Lubomir Rintel wrote: > Bash Version: 4.0 > Patch Level: 10 > Release Status: release > > Description: > If the heredoc input is terminted with end-of-file by pressing ^D > while history is on, bash enters an infinite loop (due to NULL > dereference along with a rather sick SIGS