]> git.pld-linux.org Git - packages/bash.git/blame - bash40-017
- up to 4.0.33
[packages/bash.git] / bash40-017
CommitLineData
bd03fb8f
AM
1 BASH PATCH REPORT
2 =================
3
4Bash-Release: 4.0
5Patch-ID: bash40-017
6
7Bug-Reported-by: Lubomir Rintel <lkundrak@v3.sk>
8Bug-Reference-ID: <1237654931.32737.13.camel@localhost.localdomain>
9Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2009-03/msg00174.html
10
11Bug-Description:
12
13Adding a null line to a here-document (e.g., by hitting EOF) causes the
14shell to dump core attempting to dereference the NULL pointer.
15
16Patch:
17
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
20***************
21*** 1880,1884 ****
22 ret = read_a_line (remove_quoted_newline);
23 #if defined (HISTORY)
24! if (remember_on_history && (parser_state & PST_HEREDOC))
25 {
26 /* To make adding the the here-document body right, we need to rely
27--- 1880,1884 ----
28 ret = read_a_line (remove_quoted_newline);
29 #if defined (HISTORY)
30! if (ret && remember_on_history && (parser_state & PST_HEREDOC))
31 {
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
35***************
36*** 26,30 ****
37 looks for to find the patch level (for the sccs version string). */
38
39! #define PATCHLEVEL 16
40
41 #endif /* _PATCHLEVEL_H_ */
42--- 26,30 ----
43 looks for to find the patch level (for the sccs version string). */
44
45! #define PATCHLEVEL 17
46
47 #endif /* _PATCHLEVEL_H_ */
This page took 0.041219 seconds and 4 git commands to generate.