svashisht / rpms / bash

Forked from rpms/bash 4 years ago
Clone

Blame SOURCES/bash42-014

ff19ae
			     BASH PATCH REPORT
ff19ae
			     =================
ff19ae
ff19ae
Bash-Release:	4.2
ff19ae
Patch-ID:	bash42-014
ff19ae
ff19ae
Bug-Reported-by:	Shawn Bohrer <sbohrer@rgmadvisors.com>
ff19ae
Bug-Reference-ID:	<20110504152320.6E8F28130527@dev1.rgmadvisors.com>
ff19ae
Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2011-05/msg00018.html
ff19ae
ff19ae
Bug-Description:
ff19ae
ff19ae
The regular expression matching operator did not correctly match
ff19ae
expressions with an embedded ^A.
ff19ae
ff19ae
Patch (apply with `patch -p0'):
ff19ae
ff19ae
*** ../bash-4.2-patched/pathexp.c	2010-08-13 23:21:57.000000000 -0400
ff19ae
--- pathexp.c	2011-05-05 16:40:58.000000000 -0400
ff19ae
***************
ff19ae
*** 197,201 ****
ff19ae
  	  if ((qflags & QGLOB_FILENAME) && pathname[i+1] == '/')
ff19ae
  	    continue;
ff19ae
! 	  if ((qflags & QGLOB_REGEXP) && ere_char (pathname[i+1]) == 0)
ff19ae
  	    continue;
ff19ae
  	  temp[j++] = '\\';
ff19ae
--- 197,201 ----
ff19ae
  	  if ((qflags & QGLOB_FILENAME) && pathname[i+1] == '/')
ff19ae
  	    continue;
ff19ae
! 	  if (pathname[i+1] != CTLESC && (qflags & QGLOB_REGEXP) && ere_char (pathname[i+1]) == 0)
ff19ae
  	    continue;
ff19ae
  	  temp[j++] = '\\';
ff19ae
*** ../bash-4.2-patched/patchlevel.h	Sat Jun 12 20:14:48 2010
ff19ae
--- patchlevel.h	Thu Feb 24 21:41:34 2011
ff19ae
***************
ff19ae
*** 26,30 ****
ff19ae
     looks for to find the patch level (for the sccs version string). */
ff19ae
  
ff19ae
! #define PATCHLEVEL 13
ff19ae
  
ff19ae
  #endif /* _PATCHLEVEL_H_ */
ff19ae
--- 26,30 ----
ff19ae
     looks for to find the patch level (for the sccs version string). */
ff19ae
  
ff19ae
! #define PATCHLEVEL 14
ff19ae
  
ff19ae
  #endif /* _PATCHLEVEL_H_ */