bash44-005 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 4.4
  4. Patch-ID: bash44-005
  5. Bug-Reported-by: Dr. Werner Fink <werner@suse.de>
  6. Bug-Reference-ID: <20161107100936.ajnojd7dspirdflf@noether.suse.de>
  7. Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2016-11/msg00054.html
  8. Bug-Description:
  9. Under certain circumstances, a simple command is optimized to eliminate a
  10. fork, resulting in an EXIT trap not being executed.
  11. Patch (apply with `patch -p0'):
  12. *** ../bash-4.4/builtins/evalstring.c 2016-08-11 14:18:51.000000000 -0400
  13. --- builtins/evalstring.c 2016-11-08 15:05:07.000000000 -0500
  14. ***************
  15. *** 105,114 ****
  16. *bash_input.location.string == '\0' &&
  17. command->type == cm_simple &&
  18. - #if 0
  19. signal_is_trapped (EXIT_TRAP) == 0 &&
  20. signal_is_trapped (ERROR_TRAP) == 0 &&
  21. - #else
  22. any_signals_trapped () < 0 &&
  23. - #endif
  24. command->redirects == 0 && command->value.Simple->redirects == 0 &&
  25. ((command->flags & CMD_TIME_PIPELINE) == 0) &&
  26. --- 105,111 ----
  27. *** ../bash-4.4/patchlevel.h 2016-06-22 14:51:03.000000000 -0400
  28. --- patchlevel.h 2016-10-01 11:01:28.000000000 -0400
  29. ***************
  30. *** 26,30 ****
  31. looks for to find the patch level (for the sccs version string). */
  32. ! #define PATCHLEVEL 4
  33. #endif /* _PATCHLEVEL_H_ */
  34. --- 26,30 ----
  35. looks for to find the patch level (for the sccs version string). */
  36. ! #define PATCHLEVEL 5
  37. #endif /* _PATCHLEVEL_H_ */