]>
Commit | Line | Data |
---|---|---|
a8c304fb ER |
1 | BASH PATCH REPORT |
2 | ================= | |
3 | ||
4 | Bash-Release: 3.1 | |
5 | Patch-ID: bash31-016 | |
6 | ||
7 | Bug-Reported-by: Nikita Danilov <nikita@clusterfs.com> | |
8 | Bug-Reference-ID: <17397.51015.769854.541057@gargle.gargle.HOWL> | |
9 | Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-02/msg00064.html | |
10 | ||
11 | Bug-Description: | |
12 | ||
13 | Bash will dump core when attempting to perform globbing in directories with | |
14 | very large numbers of files. | |
15 | ||
16 | Patch: | |
17 | ||
18 | *** ../bash-3.1-patched/lib/glob/glob.c Thu Mar 24 12:42:27 2005 | |
19 | --- lib/glob/glob.c Fri Mar 3 16:54:12 2006 | |
20 | *************** | |
21 | *** 361,364 **** | |
22 | --- 361,365 ---- | |
23 | ||
24 | firstmalloc = 0; | |
25 | + nalloca = 0; | |
26 | ||
27 | /* If PAT is empty, skip the loop, but return one (empty) filename. */ | |
28 | *************** | |
29 | *** 547,550 **** | |
30 | --- 551,556 ---- | |
31 | tmplink = lastlink; | |
32 | } | |
33 | + else | |
34 | + tmplink = 0; | |
35 | free (lastlink->name); | |
36 | lastlink = lastlink->next; | |
37 | *** ../bash-3.1/patchlevel.h Wed Jul 20 13:58:20 2005 | |
38 | --- patchlevel.h Wed Dec 7 13:48:42 2005 | |
39 | *************** | |
40 | *** 26,30 **** | |
41 | looks for to find the patch level (for the sccs version string). */ | |
42 | ||
43 | ! #define PATCHLEVEL 15 | |
44 | ||
45 | #endif /* _PATCHLEVEL_H_ */ | |
46 | --- 26,30 ---- | |
47 | looks for to find the patch level (for the sccs version string). */ | |
48 | ||
49 | ! #define PATCHLEVEL 16 | |
50 | ||
51 | #endif /* _PATCHLEVEL_H_ */ |