rcolebaugh / rpms / bash

Forked from rpms/bash a year ago
Clone
287226
			     BASH PATCH REPORT
287226
			     =================
287226
287226
Bash-Release:	4.2
287226
Patch-ID:	bash42-038
287226
287226
Bug-Reported-by:	armandsl@gmail.com
287226
Bug-Reference-ID:	<20120822112810.8D14920040@windmill.latviatours.lv>
287226
Bug-Reference-URL:	http://lists.gnu.org/archive/html/bug-bash/2012-08/msg00049.html
287226
287226
Bug-Description:
287226
287226
If a backslash-newline (which is removed) with no other input is given as
287226
input to `read', the shell tries to dereference a null pointer and seg faults.
287226
287226
Patch (apply with `patch -p0'):
287226
287226
*** ../bash-4.2-patched/builtins/read.def	2012-03-11 17:52:44.000000000 -0400
287226
--- builtins/read.def	2012-08-22 11:53:09.000000000 -0400
287226
***************
287226
*** 792,796 ****
287226
  #endif
287226
  
287226
!   if (saw_escape)
287226
      {
287226
        t = dequote_string (input_string);
287226
--- 847,851 ----
287226
  #endif
287226
  
287226
!   if (saw_escape && input_string && *input_string)
287226
      {
287226
        t = dequote_string (input_string);
287226
*** ../bash-4.2-patched/patchlevel.h	Sat Jun 12 20:14:48 2010
287226
--- patchlevel.h	Thu Feb 24 21:41:34 2011
287226
***************
287226
*** 26,30 ****
287226
     looks for to find the patch level (for the sccs version string). */
287226
  
287226
! #define PATCHLEVEL 37
287226
  
287226
  #endif /* _PATCHLEVEL_H_ */
287226
--- 26,30 ----
287226
     looks for to find the patch level (for the sccs version string). */
287226
  
287226
! #define PATCHLEVEL 38
287226
  
287226
  #endif /* _PATCHLEVEL_H_ */