bash44-010 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 4.4
  4. Patch-ID: bash44-010
  5. Bug-Reported-by: Clark Wang <dearvoid@gmail.com>
  6. Bug-Reference-ID: <CADv8-og092RvvUUHy46=BPKChCXw5g=GOOqgN0V3f4a3TpLebQ@mail.gmail.com>
  7. Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2016-11/msg00104.html
  8. Bug-Description:
  9. Depending on compiler optimizations and behavior, the `read' builtin may not
  10. save partial input when a timeout occurs.
  11. Patch (apply with `patch -p0'):
  12. *** ../bash-4.4-patched/builtins/read.def 2016-05-16 14:24:56.000000000 -0400
  13. --- builtins/read.def 2016-11-25 12:37:56.000000000 -0500
  14. ***************
  15. *** 182,186 ****
  16. {
  17. register char *varname;
  18. ! int size, i, nr, pass_next, saw_escape, eof, opt, retval, code, print_ps2;
  19. int input_is_tty, input_is_pipe, unbuffered_read, skip_ctlesc, skip_ctlnul;
  20. int raw, edit, nchars, silent, have_timeout, ignore_delim, fd, lastsig, t_errno;
  21. --- 182,187 ----
  22. {
  23. register char *varname;
  24. ! int size, nr, pass_next, saw_escape, eof, opt, retval, code, print_ps2;
  25. ! volatile int i;
  26. int input_is_tty, input_is_pipe, unbuffered_read, skip_ctlesc, skip_ctlnul;
  27. int raw, edit, nchars, silent, have_timeout, ignore_delim, fd, lastsig, t_errno;
  28. *** ../bash-4.4/patchlevel.h 2016-06-22 14:51:03.000000000 -0400
  29. --- patchlevel.h 2016-10-01 11:01:28.000000000 -0400
  30. ***************
  31. *** 26,30 ****
  32. looks for to find the patch level (for the sccs version string). */
  33. ! #define PATCHLEVEL 9
  34. #endif /* _PATCHLEVEL_H_ */
  35. --- 26,30 ----
  36. looks for to find the patch level (for the sccs version string). */
  37. ! #define PATCHLEVEL 10
  38. #endif /* _PATCHLEVEL_H_ */