Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 May 2011 15:07:53 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/bin/sh main.c
Message-ID:  <201105291508.p4TF8BtO090582@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jilles      2011-05-29 15:07:53 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    bin/sh               main.c 
  Log:
  SVN rev 222452 on 2011-05-29 15:07:53Z by jilles
  
  MFC r222173: sh: Fix bss-based buffer overflow in . builtin.
  
  If the length of a directory in PATH together with the given filename
  exceeded FILENAME_MAX (which may happen even for pathnames that work), a
  static buffer was overflown.
  
  The static buffer is unnecessary, we can use the stalloc() stack.
  
  Obtained from:  NetBSD
  
  Revision  Changes    Path
  1.31.2.7  +7 -4      src/bin/sh/main.c



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