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