]>
Commit | Line | Data |
---|---|---|
e5eadd5d AM |
1 | BASH PATCH REPORT |
2 | ================= | |
3 | ||
4 | Bash-Release: 4.0 | |
5 | Patch-ID: bash40-033 | |
6 | ||
7 | Bug-Reported-by: Dr. Werner Fink <werner@suse.de> | |
8 | Bug-Reference-ID: <200907010951.n619p76I013912@boole.suse.de> | |
9 | Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2009-07/msg00000.html | |
10 | ||
11 | Bug-Description: | |
12 | ||
13 | Bash-4.0 has a memory leak in the `read' builtin when the number of fields | |
14 | read is not the same as the number of variables passed as arguments. | |
15 | ||
16 | Patch: | |
17 | ||
18 | *** ../bash-4.0-patched/builtins/read.def 2009-03-08 21:24:45.000000000 -0400 | |
19 | --- builtins/read.def 2009-07-01 15:32:42.000000000 -0400 | |
20 | *************** | |
21 | *** 764,768 **** | |
22 | tofree = input_string = t; | |
23 | else | |
24 | ! input_string = strip_trailing_ifs_whitespace (t1, ifs_chars, saw_escape); | |
25 | } | |
26 | #endif | |
27 | --- 764,771 ---- | |
28 | tofree = input_string = t; | |
29 | else | |
30 | ! { | |
31 | ! input_string = strip_trailing_ifs_whitespace (t1, ifs_chars, saw_escape); | |
32 | ! tofree = t; | |
33 | ! } | |
34 | } | |
35 | #endif | |
36 | *** ../bash-4.0/patchlevel.h 2009-01-04 14:32:40.000000000 -0500 | |
37 | --- patchlevel.h 2009-02-22 16:11:31.000000000 -0500 | |
38 | *************** | |
39 | *** 26,30 **** | |
40 | looks for to find the patch level (for the sccs version string). */ | |
41 | ||
42 | ! #define PATCHLEVEL 32 | |
43 | ||
44 | #endif /* _PATCHLEVEL_H_ */ | |
45 | --- 26,30 ---- | |
46 | looks for to find the patch level (for the sccs version string). */ | |
47 | ||
48 | ! #define PATCHLEVEL 33 | |
49 | ||
50 | #endif /* _PATCHLEVEL_H_ */ |