bash44-011.patch 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. From https://ftp.gnu.org/gnu/bash/bash-4.4-patches/bash44-011
  2. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
  3. BASH PATCH REPORT
  4. =================
  5. Bash-Release: 4.4
  6. Patch-ID: bash44-011
  7. Bug-Reported-by: Russell King <rmk@armlinux.org.uk>
  8. Bug-Reference-ID: <E1cNnFx-0007G2-S2@flint.armlinux.org.uk>
  9. Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2017-01/msg00000.html
  10. Bug-Description:
  11. Subshells begun to run command and process substitutions may attempt to
  12. set the terminal's process group to an incorrect value if they receive
  13. a fatal signal. This depends on the behavior of the process that starts
  14. the shell.
  15. Patch (apply with `patch -p0'):
  16. *** bash-4.4-patched/sig.c 2016-02-11 15:02:45.000000000 -0500
  17. --- b/sig.c 2017-01-04 09:09:47.000000000 -0500
  18. ***************
  19. *** 586,590 ****
  20. if (sig == SIGHUP && (interactive || (subshell_environment & (SUBSHELL_COMSUB|SUBSHELL_PROCSUB))))
  21. hangup_all_jobs ();
  22. ! end_job_control ();
  23. #endif /* JOB_CONTROL */
  24. --- b/571,576 ----
  25. if (sig == SIGHUP && (interactive || (subshell_environment & (SUBSHELL_COMSUB|SUBSHELL_PROCSUB))))
  26. hangup_all_jobs ();
  27. ! if ((subshell_environment & (SUBSHELL_COMSUB|SUBSHELL_PROCSUB)) == 0)
  28. ! end_job_control ();
  29. #endif /* JOB_CONTROL */
  30. *** bash-4.4/patchlevel.h 2016-06-22 14:51:03.000000000 -0400
  31. --- b/patchlevel.h 2016-10-01 11:01:28.000000000 -0400
  32. ***************
  33. *** 26,30 ****
  34. looks for to find the patch level (for the sccs version string). */
  35. ! #define PATCHLEVEL 10
  36. #endif /* _PATCHLEVEL_H_ */
  37. --- b/26,30 ----
  38. looks for to find the patch level (for the sccs version string). */
  39. ! #define PATCHLEVEL 11
  40. #endif /* _PATCHLEVEL_H_ */