Patch-ID: bash32-034
commit813d9226fe76018c4377ae2a4af29f3864600de9
authorChet Ramey <chet@cwru.edu>
Tue, 1 Jan 2008 00:26:36 +0000 (31 19:26 -0500)
committerBradley M. Kuhn <bkuhn@ebb.org>
Tue, 1 Jan 2008 00:26:36 +0000 (31 19:26 -0500)
tree3b398c78af4080663e9bcddbec49cbd7d9f62820
parentb5de9a0a7693e699c11e5b3f1345954d6142d80e
Patch-ID: bash32-034

Bug-Reported-by: Ian Campbell <ian.campbell@xensource.com>
Bug-Reference-ID: <EXCHPAFExU3l5bhn1ow00001dfe@rpc.xensource.com>
Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-bash/2007-10/msg00060.html

Bug-Description:

The bash getcwd replacement will write past the end of allocated memory
when it allocates the buffer itself if it uses the buffer size passed as
an argument, and that size is less than the length of the pathname.

This patch, in file bash32-034, was downloaded from ftp.gnu.org on 2011-05-29,
and bash32-034.sig was furthermore verified, yielding the following output:
gpg: Signature made Mon 28 Apr 2008 10:07:06 PM EDT using DSA key ID 64EA74AB
gpg: Good signature from "Chet Ramey <chet@cwru.edu>"
lib/sh/getcwd.c
patchlevel.h