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