287226
			     BASH PATCH REPORT
287226
			     =================
287226
287226
Bash-Release:	4.2
287226
Patch-ID:	bash42-013
287226
287226
Bug-Reported-by:	Marten Wikstrom <marten.wikstrom@keystream.se>
287226
Bug-Reference-ID:	<BANLkTikKECAh94ZEX68iQvxYuPeEM_xoSQ@mail.gmail.com>
287226
Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2011-05/msg00049.html
287226
287226
Bug-Description:
287226
287226
An off-by-one error caused the shell to skip over CTLNUL characters,
287226
which are used internally to mark quoted null strings.  The effect
287226
was to have stray 0x7f characters left after expanding words like
287226
""""""""aa.
287226
287226
Patch (apply with `patch -p0'):
287226
287226
*** ../bash-4.2-patched/subst.c	2011-03-06 14:11:11.000000000 -0500
287226
--- subst.c	2011-05-11 11:23:33.000000000 -0400
287226
***************
287226
*** 3707,3711 ****
287226
  	}
287226
        else if (string[i] == CTLNUL)
287226
! 	i++;
287226
  
287226
        prev_i = i;
287226
--- 3710,3717 ----
287226
  	}
287226
        else if (string[i] == CTLNUL)
287226
! 	{
287226
! 	  i++;
287226
! 	  continue;
287226
! 	}
287226
  
287226
        prev_i = i;
287226
*** ../bash-4.2-patched/patchlevel.h	Sat Jun 12 20:14:48 2010
287226
--- patchlevel.h	Thu Feb 24 21:41:34 2011
287226
***************
287226
*** 26,30 ****
287226
     looks for to find the patch level (for the sccs version string). */
287226
  
287226
! #define PATCHLEVEL 12
287226
  
287226
  #endif /* _PATCHLEVEL_H_ */
287226
--- 26,30 ----
287226
     looks for to find the patch level (for the sccs version string). */
287226
  
287226
! #define PATCHLEVEL 13
287226
  
287226
  #endif /* _PATCHLEVEL_H_ */