components/bash/bash41-003.patch
changeset 115 c360825c3a3f
parent 114 6cc95ec7b1bb
child 116 ae6a90899b42
equal deleted inserted replaced
114:6cc95ec7b1bb 115:c360825c3a3f
     1 			     BASH PATCH REPORT
       
     2 			     =================
       
     3 
       
     4 Bash-Release:	4.1
       
     5 Patch-ID:	bash41-003
       
     6 
       
     7 Bug-Reported-by:	[email protected]
       
     8 Bug-Reference-ID:	<[email protected]>
       
     9 Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2010-01/msg00135.html
       
    10 
       
    11 Bug-Description:
       
    12 
       
    13 If command completion is attempted on a word with a quoted globbing
       
    14 character (e.g., `*' or `?'), bash can reference a NULL pointer and
       
    15 dump core.
       
    16 
       
    17 Patch (apply with `patch -p0'):
       
    18 
       
    19 *** ../bash-4.1-patched/bashline.c	2009-10-24 14:10:19.000000000 -0400
       
    20 --- bashline.c	2010-01-30 21:53:49.000000000 -0500
       
    21 ***************
       
    22 *** 1681,1685 ****
       
    23        characters in the common prefix are bad) will ever be returned on
       
    24        regular completion. */
       
    25 !   if (glob_pattern_p (hint))
       
    26       {
       
    27         if (state == 0)
       
    28 --- 1681,1685 ----
       
    29        characters in the common prefix are bad) will ever be returned on
       
    30        regular completion. */
       
    31 !   if (globpat)
       
    32       {
       
    33         if (state == 0)
       
    34 *** ../bash-4.1-patched/patchlevel.h	2009-10-01 16:39:22.000000000 -0400
       
    35 --- patchlevel.h	2010-01-14 09:38:08.000000000 -0500
       
    36 ***************
       
    37 *** 26,30 ****
       
    38      looks for to find the patch level (for the sccs version string). */
       
    39   
       
    40 ! #define PATCHLEVEL 2
       
    41   
       
    42   #endif /* _PATCHLEVEL_H_ */
       
    43 --- 26,30 ----
       
    44      looks for to find the patch level (for the sccs version string). */
       
    45   
       
    46 ! #define PATCHLEVEL 3
       
    47   
       
    48   #endif /* _PATCHLEVEL_H_ */