bash31-013 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 3.1
  4. Patch-ID: bash31-013
  5. Bug-Reported-by: Bob Rossi <bob@brasko.net>
  6. Bug-Reference-ID: <43F60606.80708@case.edu>
  7. Bug-Reference-URL:
  8. Bug-Description:
  9. In some cases, readline will reference freed memory when attempting to
  10. display a portion of the prompt.
  11. Patch:
  12. *** bash-3.1-patched/lib/readline/readline.c Mon Jul 4 22:29:35 2005
  13. --- bash-3.1/lib/readline/readline.c Fri Feb 17 22:54:22 2006
  14. ***************
  15. *** 282,287 ****
  16. --- 282,288 ----
  17. {
  18. FREE (rl_prompt);
  19. rl_prompt = prompt ? savestring (prompt) : (char *)NULL;
  20. + rl_display_prompt = rl_prompt ? rl_prompt : "";
  21. rl_visible_prompt_length = rl_expand_prompt (rl_prompt);
  22. return 0;
  23. *** bash-3.1/patchlevel.h Wed Jul 20 13:58:20 2005
  24. --- bash-3.1/patchlevel.h Wed Dec 7 13:48:42 2005
  25. ***************
  26. *** 26,30 ****
  27. looks for to find the patch level (for the sccs version string). */
  28. ! #define PATCHLEVEL 12
  29. #endif /* _PATCHLEVEL_H_ */
  30. --- 26,30 ----
  31. looks for to find the patch level (for the sccs version string). */
  32. ! #define PATCHLEVEL 13
  33. #endif /* _PATCHLEVEL_H_ */