7 Bug-Reported-by: Lubomir Rintel <lkundrak@v3.sk>
8 Bug-Reference-ID: <1237654931.32737.13.camel@localhost.localdomain>
9 Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2009-03/msg00174.html
13 Adding a null line to a here-document (e.g., by hitting EOF) causes the
14 shell to dump core attempting to dereference the NULL pointer.
18 *** ../bash-4.0-patched/parse.y 2009-03-08 21:24:47.000000000 -0400
19 --- parse.y 2009-03-21 14:38:42.000000000 -0400
22 ret = read_a_line (remove_quoted_newline);
24 ! if (remember_on_history && (parser_state & PST_HEREDOC))
26 /* To make adding the the here-document body right, we need to rely
28 ret = read_a_line (remove_quoted_newline);
30 ! if (ret && remember_on_history && (parser_state & PST_HEREDOC))
32 /* To make adding the the here-document body right, we need to rely
33 *** ../bash-4.0/patchlevel.h 2009-01-04 14:32:40.000000000 -0500
34 --- patchlevel.h 2009-02-22 16:11:31.000000000 -0500
37 looks for to find the patch level (for the sccs version string). */
39 ! #define PATCHLEVEL 16
41 #endif /* _PATCHLEVEL_H_ */
43 looks for to find the patch level (for the sccs version string). */
45 ! #define PATCHLEVEL 17
47 #endif /* _PATCHLEVEL_H_ */