usr/src/cmd/bash/Patches-4.0/bash40-032
author Jon Tibble <meths@btinternet.com>
Mon, 04 May 2015 14:04:39 +0100
branchoi_151a
changeset 254 9c2a4ac793f0
permissions -rw-r--r--
Bash patch catchup including shellshock

			     BASH PATCH REPORT
			     =================

Bash-Release: 4.0
Patch-ID: bash40-032

Bug-Reported-by:	[email protected]
Bug-Reference-ID:	<[email protected]>
Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2009-08/msg00090.html

Bug-Description:

Bash-4.0 has a memory leak when processing ${!prefix@}.

Patch:

*** ../bash-4.0-patched/subst.c	2009-07-22 23:18:55.000000000 -0400
--- subst.c	2009-08-26 23:08:51.000000000 -0400
***************
*** 6607,6611 ****
  	}
        free (x);
!       free (xlist);
        free (temp1);
        *indexp = sindex;
--- 6769,6773 ----
  	}
        free (x);
!       dispose_words (xlist);
        free (temp1);
        *indexp = sindex;
*** ../bash-4.0/patchlevel.h	2009-01-04 14:32:40.000000000 -0500
--- patchlevel.h	2009-02-22 16:11:31.000000000 -0500
***************
*** 26,30 ****
     looks for to find the patch level (for the sccs version string). */
  
! #define PATCHLEVEL 31
  
  #endif /* _PATCHLEVEL_H_ */
--- 26,30 ----
     looks for to find the patch level (for the sccs version string). */
  
! #define PATCHLEVEL 32
  
  #endif /* _PATCHLEVEL_H_ */