bash-4.1-003.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 4.1
  4. Patch-ID: bash41-003
  5. Bug-Reported-by: coyote@wariat.org.pl
  6. Bug-Reference-ID: <4b64a1f8.06e2660a.60af.4bfb@mx.google.com>
  7. Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2010-01/msg00135.html
  8. Bug-Description:
  9. If command completion is attempted on a word with a quoted globbing
  10. character (e.g., `*' or `?'), bash can reference a NULL pointer and
  11. dump core.
  12. Patch (apply with `patch -p0'):
  13. *** ../bash-4.1-patched/bashline.c 2009-10-24 14:10:19.000000000 -0400
  14. --- ./bashline.c 2010-01-30 21:53:49.000000000 -0500
  15. ***************
  16. *** 1681,1685 ****
  17. characters in the common prefix are bad) will ever be returned on
  18. regular completion. */
  19. ! if (glob_pattern_p (hint))
  20. {
  21. if (state == 0)
  22. --- 1681,1685 ----
  23. characters in the common prefix are bad) will ever be returned on
  24. regular completion. */
  25. ! if (globpat)
  26. {
  27. if (state == 0)
  28. *** ../bash-4.1-patched/patchlevel.h 2009-10-01 16:39:22.000000000 -0400
  29. --- ./patchlevel.h 2010-01-14 09:38:08.000000000 -0500
  30. ***************
  31. *** 26,30 ****
  32. looks for to find the patch level (for the sccs version string). */
  33. ! #define PATCHLEVEL 2
  34. #endif /* _PATCHLEVEL_H_ */
  35. --- 26,30 ----
  36. looks for to find the patch level (for the sccs version string). */
  37. ! #define PATCHLEVEL 3
  38. #endif /* _PATCHLEVEL_H_ */