bash44-013 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 4.4
  4. Patch-ID: bash44-013
  5. Bug-Reported-by: Siteshwar Vashisht <svashisht@redhat.com>
  6. Bug-Reference-ID: <1508861265.9523642.1484659442561.JavaMail.zimbra@redhat.com>
  7. Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2017-01/msg00026.html
  8. Bug-Description:
  9. If a here-document contains a command substitution, the command substitution
  10. can get access to the file descriptor used to write the here-document.
  11. Patch (apply with `patch -p0'):
  12. *** ../bash-4.4-patched/redir.c 2016-06-02 20:22:24.000000000 -0400
  13. --- redir.c 2017-01-17 13:23:40.000000000 -0500
  14. ***************
  15. *** 470,473 ****
  16. --- 467,472 ----
  17. }
  18. + SET_CLOSE_ON_EXEC (fd);
  19. +
  20. errno = r = 0; /* XXX */
  21. /* write_here_document returns 0 on success, errno on failure. */
  22. *** ../bash-4.4/patchlevel.h 2016-06-22 14:51:03.000000000 -0400
  23. --- patchlevel.h 2016-10-01 11:01:28.000000000 -0400
  24. ***************
  25. *** 26,30 ****
  26. looks for to find the patch level (for the sccs version string). */
  27. ! #define PATCHLEVEL 12
  28. #endif /* _PATCHLEVEL_H_ */
  29. --- 26,30 ----
  30. looks for to find the patch level (for the sccs version string). */
  31. ! #define PATCHLEVEL 13
  32. #endif /* _PATCHLEVEL_H_ */