2
1

bash31-016 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 3.1
  4. Patch-ID: bash31-016
  5. Bug-Reported-by: Nikita Danilov <nikita@clusterfs.com>
  6. Bug-Reference-ID: <17397.51015.769854.541057@gargle.gargle.HOWL>
  7. Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2006-02/msg00064.html
  8. Bug-Description:
  9. Bash will dump core when attempting to perform globbing in directories with
  10. very large numbers of files.
  11. Patch:
  12. *** bash-3.1/lib/glob/glob.c Thu Mar 24 12:42:27 2005
  13. --- bash-3.1/lib/glob/glob.c Fri Mar 3 16:54:12 2006
  14. ***************
  15. *** 361,364 ****
  16. --- 361,365 ----
  17. firstmalloc = 0;
  18. + nalloca = 0;
  19. /* If PAT is empty, skip the loop, but return one (empty) filename. */
  20. ***************
  21. *** 547,550 ****
  22. --- 551,556 ----
  23. tmplink = lastlink;
  24. }
  25. + else
  26. + tmplink = 0;
  27. free (lastlink->name);
  28. lastlink = lastlink->next;
  29. *** bash-3.1/patchlevel.h Wed Jul 20 13:58:20 2005
  30. --- bash-3.1/patchlevel.h Wed Dec 7 13:48:42 2005
  31. ***************
  32. *** 26,30 ****
  33. looks for to find the patch level (for the sccs version string). */
  34. ! #define PATCHLEVEL 15
  35. #endif /* _PATCHLEVEL_H_ */
  36. --- 26,30 ----
  37. looks for to find the patch level (for the sccs version string). */
  38. ! #define PATCHLEVEL 16
  39. #endif /* _PATCHLEVEL_H_ */