2
1

bash-4.2-014.patch 1.4 KB

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