bash32-032 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 3.2
  4. Patch-ID: bash32-032
  5. Bug-Reported-by: Uwe Doering <gemini@geminix.org>
  6. Bug-Reference-ID: <46F3DD72.2090801@geminix.org>
  7. Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2007-09/msg00102.html
  8. Bug-Description:
  9. There is an off-by-one error in the code that buffers characters received
  10. very quickly in succession, causing characters to be dropped.
  11. Patch:
  12. *** bash-3.2-patched/lib/readline/input.c 2007-08-25 13:47:10.000000000 -0400
  13. --- bash-3.2/lib/readline/input.c 2007-10-12 22:55:25.000000000 -0400
  14. ***************
  15. *** 155,159 ****
  16. pop_index--;
  17. if (pop_index < 0)
  18. ! pop_index = ibuffer_len - 1;
  19. ibuffer[pop_index] = key;
  20. return (1);
  21. --- 155,159 ----
  22. pop_index--;
  23. if (pop_index < 0)
  24. ! pop_index = ibuffer_len;
  25. ibuffer[pop_index] = key;
  26. return (1);
  27. *** bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006
  28. --- bash-3.2/patchlevel.h Mon Oct 16 14:22:54 2006
  29. ***************
  30. *** 26,30 ****
  31. looks for to find the patch level (for the sccs version string). */
  32. ! #define PATCHLEVEL 31
  33. #endif /* _PATCHLEVEL_H_ */
  34. --- 26,30 ----
  35. looks for to find the patch level (for the sccs version string). */
  36. ! #define PATCHLEVEL 32
  37. #endif /* _PATCHLEVEL_H_ */