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