Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Bash-4.2 Official Patch 38
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chet Ramey  
View profile  
 More options Nov 2 2012, 10:16 am
Newsgroups: gnu.bash.bug
From: Chet Ramey <chet.ra...@case.edu>
Date: Fri, 2 Nov 2012 10:15:52 -0400
Local: Fri, Nov 2 2012 10:15 am
Subject: Bash-4.2 Official Patch 38
                             BASH PATCH REPORT
                             =================

Bash-Release:   4.2
Patch-ID:       bash42-038

Bug-Reported-by:        arman...@gmail.com
Bug-Reference-ID:       <20120822112810.8D14920...@windmill.latviatours.lv>
Bug-Reference-URL:      http://lists.gnu.org/archive/html/bug-bash/2012-08/msg00049.html

Bug-Description:

If a backslash-newline (which is removed) with no other input is given as
input to `read', the shell tries to dereference a null pointer and seg faults.

Patch (apply with `patch -p0'):

*** ../bash-4.2-patched/builtins/read.def       2012-03-11 17:52:44.000000000 -0400
--- builtins/read.def   2012-08-22 11:53:09.000000000 -0400
***************
*** 792,796 ****
  #endif

!   if (saw_escape)
      {
        t = dequote_string (input_string);
--- 847,851 ----
  #endif

!   if (saw_escape && input_string && *input_string)
      {
        t = dequote_string (input_string);
*** ../bash-4.2-patched/patchlevel.h    Sat Jun 12 20:14:48 2010
--- patchlevel.h        Thu Feb 24 21:41:34 2011
***************
*** 26,30 ****
     looks for to find the patch level (for the sccs version string). */

! #define PATCHLEVEL 37

  #endif /* _PATCHLEVEL_H_ */
--- 26,30 ----
     looks for to find the patch level (for the sccs version string). */

! #define PATCHLEVEL 38

  #endif /* _PATCHLEVEL_H_ */

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.