psss / rpms / bash

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