svashisht / rpms / bash

Forked from rpms/bash 6 years ago
Clone
Roman Rakus 9410663
			     BASH PATCH REPORT
Roman Rakus 9410663
			     =================
Roman Rakus 9410663
Roman Rakus 9410663
Bash-Release:	4.1
Roman Rakus 9410663
Patch-ID:	bash41-003
Roman Rakus 9410663
Roman Rakus 9410663
Bug-Reported-by:	coyote@wariat.org.pl
Roman Rakus 9410663
Bug-Reference-ID:	<4b64a1f8.06e2660a.60af.4bfb@mx.google.com>
Roman Rakus 9410663
Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2010-01/msg00135.html
Roman Rakus 9410663
Roman Rakus 9410663
Bug-Description:
Roman Rakus 9410663
Roman Rakus 9410663
If command completion is attempted on a word with a quoted globbing
Roman Rakus 9410663
character (e.g., `*' or `?'), bash can reference a NULL pointer and
Roman Rakus 9410663
dump core.
Roman Rakus 9410663
Roman Rakus 9410663
Patch (apply with `patch -p0'):
Roman Rakus 9410663
Roman Rakus 9410663
*** ../bash-4.1-patched/bashline.c	2009-10-24 14:10:19.000000000 -0400
Roman Rakus 9410663
--- bashline.c	2010-01-30 21:53:49.000000000 -0500
Roman Rakus 9410663
***************
Roman Rakus 9410663
*** 1681,1685 ****
Roman Rakus 9410663
       characters in the common prefix are bad) will ever be returned on
Roman Rakus 9410663
       regular completion. */
Roman Rakus 9410663
!   if (glob_pattern_p (hint))
Roman Rakus 9410663
      {
Roman Rakus 9410663
        if (state == 0)
Roman Rakus 9410663
--- 1681,1685 ----
Roman Rakus 9410663
       characters in the common prefix are bad) will ever be returned on
Roman Rakus 9410663
       regular completion. */
Roman Rakus 9410663
!   if (globpat)
Roman Rakus 9410663
      {
Roman Rakus 9410663
        if (state == 0)
Roman Rakus 9410663
*** ../bash-4.1-patched/patchlevel.h	2009-10-01 16:39:22.000000000 -0400
Roman Rakus 9410663
--- patchlevel.h	2010-01-14 09:38:08.000000000 -0500
Roman Rakus 9410663
***************
Roman Rakus 9410663
*** 26,30 ****
Roman Rakus 9410663
     looks for to find the patch level (for the sccs version string). */
Roman Rakus 9410663
  
Roman Rakus 9410663
! #define PATCHLEVEL 2
Roman Rakus 9410663
  
Roman Rakus 9410663
  #endif /* _PATCHLEVEL_H_ */
Roman Rakus 9410663
--- 26,30 ----
Roman Rakus 9410663
     looks for to find the patch level (for the sccs version string). */
Roman Rakus 9410663
  
Roman Rakus 9410663
! #define PATCHLEVEL 3
Roman Rakus 9410663
  
Roman Rakus 9410663
  #endif /* _PATCHLEVEL_H_ */