bash32-029 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 3.2
  4. Patch-ID: bash32-029
  5. Bug-Reported-by: Tomas Janousek <tjanouse@redhat.com>
  6. Bug-Reference-ID: <20071102104034.GA26893@redhat.com>
  7. Bug-Reference-URL: https://bugzilla.redhat.com/show_bug.cgi?id=286861
  8. Bug-Description:
  9. When the bash arithmetic expression evaluator has temporarily turned off
  10. evalation, such as when parsing a pre- or post-decrement or -increment
  11. operator, and an error occurs, evaluation is not re-enabled.
  12. Patch:
  13. *** bash-3.2-patched/expr.c 2007-08-25 13:47:05.000000000 -0400
  14. --- bash-3.2/expr.c 2007-10-18 08:08:44.000000000 -0400
  15. ***************
  16. *** 287,290 ****
  17. --- 287,292 ----
  18. }
  19. free (expr_stack[expr_depth]); /* free the allocated EXPR_CONTEXT */
  20. +
  21. + noeval = 0; /* XXX */
  22. }
  23. ***************
  24. *** 320,323 ****
  25. --- 322,326 ----
  26. val = 0;
  27. + noeval = 0;
  28. FASTCOPY (evalbuf, oevalbuf, sizeof (evalbuf));
  29. *** bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006
  30. --- bash-3.2/patchlevel.h Mon Oct 16 14:22:54 2006
  31. ***************
  32. *** 26,30 ****
  33. looks for to find the patch level (for the sccs version string). */
  34. ! #define PATCHLEVEL 28
  35. #endif /* _PATCHLEVEL_H_ */
  36. --- 26,30 ----
  37. looks for to find the patch level (for the sccs version string). */
  38. ! #define PATCHLEVEL 29
  39. #endif /* _PATCHLEVEL_H_ */