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

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

2009-03-21 Thread Lubomir Rintel
Configuration Information [Automatically generated, do not change]: Machine: i386 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -DPAC