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