summaryrefslogtreecommitdiffstats
path: root/tools/regression
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2011-05-22 12:12:28 +0000
committerjilles <jilles@FreeBSD.org>2011-05-22 12:12:28 +0000
commitb78a69b7081791bcd44c61221e032f481da35d32 (patch)
tree8d6f8a64885192a9d6766447d965e128c946968d /tools/regression
parent1eb41d92b5e12674e34256329830096b1432868b (diff)
downloadFreeBSD-src-b78a69b7081791bcd44c61221e032f481da35d32.zip
FreeBSD-src-b78a69b7081791bcd44c61221e032f481da35d32.tar.gz
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 MFC after: 1 week
Diffstat (limited to 'tools/regression')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud