Magellan Linux

Annotation of /trunk/bash/patches/bash-3.0-crash.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (hide annotations) (download)
Tue May 8 20:06:05 2007 UTC (17 years ago) by niro
File size: 1191 byte(s)
-import

1 niro 144 > Machine Type: i686-pc-linux-gnu
2     >
3     > Bash Version: 3.0
4     > Patch Level: 0
5     > Release Status: release
6     >
7     > Description:
8     > GNU bash, version 3.00.0(1)-release (i686-pc-linux-gnu)
9     > (and
10     > GNU bash, version 2.05b.0(1)-release (i386-redhat-linux-gnu)
11     >
12     > dumps a core because of a null pointer "in make_bare_word
13     > at make_cmd.c:90" (see gdb output below)
14    
15     Thanks for the report. Here's a quick fix:
16    
17     *** arrayfunc.c~ Sat Nov 6 15:08:29 2004
18     --- arrayfunc.c Mon Jan 31 11:56:21 2005
19     ***************
20     *** 709,713 ****
21     return ((char *)NULL);
22     }
23     ! else if (var == 0)
24     return ((char *)NULL);
25     else if (array_p (var) == 0)
26     --- 709,713 ----
27     return ((char *)NULL);
28     }
29     ! else if (var == 0 || value_cell (var) == 0)
30     return ((char *)NULL);
31     else if (array_p (var) == 0)
32    
33    
34     Chet
35    
36     --
37     ``The lyf so short, the craft so long to lerne.'' - Chaucer
38     ( ``Discere est Dolere'' -- chet )
39     Live...Laugh...Love
40     Chet Ramey, ITS, CWRU chet@po.cwru.edu http://tiswww.tis.cwru.edu/~chet/
41    
42    
43     _______________________________________________
44     Bug-bash mailing list
45     Bug-bash@gnu.org
46     http://lists.gnu.org/mailman/listinfo/bug-bash