|
|
287226 |
BASH PATCH REPORT
|
|
|
287226 |
=================
|
|
|
287226 |
|
|
|
287226 |
Bash-Release: 4.2
|
|
|
287226 |
Patch-ID: bash42-014
|
|
|
287226 |
|
|
|
287226 |
Bug-Reported-by: Shawn Bohrer <sbohrer@rgmadvisors.com>
|
|
|
287226 |
Bug-Reference-ID: <20110504152320.6E8F28130527@dev1.rgmadvisors.com>
|
|
|
287226 |
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2011-05/msg00018.html
|
|
|
287226 |
|
|
|
287226 |
Bug-Description:
|
|
|
287226 |
|
|
|
287226 |
The regular expression matching operator did not correctly match
|
|
|
287226 |
expressions with an embedded ^A.
|
|
|
287226 |
|
|
|
287226 |
Patch (apply with `patch -p0'):
|
|
|
287226 |
|
|
|
287226 |
*** ../bash-4.2-patched/pathexp.c 2010-08-13 23:21:57.000000000 -0400
|
|
|
287226 |
--- pathexp.c 2011-05-05 16:40:58.000000000 -0400
|
|
|
287226 |
***************
|
|
|
287226 |
*** 197,201 ****
|
|
|
287226 |
if ((qflags & QGLOB_FILENAME) && pathname[i+1] == '/')
|
|
|
287226 |
continue;
|
|
|
287226 |
! if ((qflags & QGLOB_REGEXP) && ere_char (pathname[i+1]) == 0)
|
|
|
287226 |
continue;
|
|
|
287226 |
temp[j++] = '\\';
|
|
|
287226 |
--- 197,201 ----
|
|
|
287226 |
if ((qflags & QGLOB_FILENAME) && pathname[i+1] == '/')
|
|
|
287226 |
continue;
|
|
|
287226 |
! if (pathname[i+1] != CTLESC && (qflags & QGLOB_REGEXP) && ere_char (pathname[i+1]) == 0)
|
|
|
287226 |
continue;
|
|
|
287226 |
temp[j++] = '\\';
|
|
|
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 13
|
|
|
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 14
|
|
|
287226 |
|
|
|
287226 |
#endif /* _PATCHLEVEL_H_ */
|