Roman Rakus 888f0f
			     BASH PATCH REPORT
Roman Rakus 888f0f
			     =================
Roman Rakus 888f0f
Roman Rakus 888f0f
Bash-Release:	4.2
Roman Rakus 888f0f
Patch-ID:	bash42-007
Roman Rakus 888f0f
Roman Rakus 888f0f
Bug-Reported-by:	Matthias Klose <doko@debian.org>
Roman Rakus 888f0f
Bug-Reference-ID:	<4D6FD2AC.1010500@debian.org>
Roman Rakus 888f0f
Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2011-03/msg00015.html
Roman Rakus 888f0f
Roman Rakus 888f0f
Bug-Description:
Roman Rakus 888f0f
Roman Rakus 888f0f
When used in contexts where word splitting and quote removal were not
Roman Rakus 888f0f
performed, such as case statement word expansion, empty strings
Roman Rakus 888f0f
(either literal or resulting from quoted variables that were unset or
Roman Rakus 888f0f
null) were not expanded correctly, resulting in failure.
Roman Rakus 888f0f
Roman Rakus 888f0f
Patch (apply with `patch -p0'):
Roman Rakus 888f0f
Roman Rakus 888f0f
*** ../bash-4.2-patched/subst.c	2011-02-25 12:03:58.000000000 -0500
Roman Rakus 888f0f
--- subst.c	2011-03-03 14:08:23.000000000 -0500
Roman Rakus 888f0f
***************
Roman Rakus 888f0f
*** 4609,4614 ****
Roman Rakus 888f0f
--- 4611,4617 ----
Roman Rakus 888f0f
    if (ifs_firstc == 0)
Roman Rakus 888f0f
  #endif
Roman Rakus 888f0f
      word->flags |= W_NOSPLIT;
Roman Rakus 888f0f
+   word->flags |= W_NOSPLIT2;
Roman Rakus 888f0f
    result = call_expand_word_internal (word, quoted, 0, (int *)NULL, (int *)NULL);
Roman Rakus 888f0f
    expand_no_split_dollar_star = 0;
Roman Rakus 888f0f
  
Roman Rakus 888f0f
*** ../bash-4.2-patched/patchlevel.h	Sat Jun 12 20:14:48 2010
Roman Rakus 888f0f
--- patchlevel.h	Thu Feb 24 21:41:34 2011
Roman Rakus 888f0f
***************
Roman Rakus 888f0f
*** 26,30 ****
Roman Rakus 888f0f
     looks for to find the patch level (for the sccs version string). */
Roman Rakus 888f0f
  
Roman Rakus 888f0f
! #define PATCHLEVEL 6
Roman Rakus 888f0f
  
Roman Rakus 888f0f
  #endif /* _PATCHLEVEL_H_ */
Roman Rakus 888f0f
--- 26,30 ----
Roman Rakus 888f0f
     looks for to find the patch level (for the sccs version string). */
Roman Rakus 888f0f
  
Roman Rakus 888f0f
! #define PATCHLEVEL 7
Roman Rakus 888f0f
  
Roman Rakus 888f0f
  #endif /* _PATCHLEVEL_H_ */