Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2002 04:22:49 -0700 (PDT)
From:      "Tim J. Robbins" <tjr@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/bin/sh expand.c
Message-ID:  <200210081122.g98BMnrd051303@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
tjr         2002/10/08 04:22:49 PDT

  Modified files:
    bin/sh               expand.c 
  Log:
  Do not strip CTL* escapes from redirection filenames in argstr(); they
  are later stripped with rmescapes() in expandarg(). If the filename has
  already been unescaped, doing it again in rmescapes() can walk off the
  end of the string, leading to memory corruption and eventually SIGSEGV.
  
  Noticed by:     kris
  
  Revision  Changes    Path
  1.39      +1 -1      src/bin/sh/expand.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210081122.g98BMnrd051303>