freebsd-skq/usr.bin/sed
Pedro F. Giffuni a34b42e43c sed: Bounds check the file path used in the 'w' command.
Modified version of a diff from Sebastien Marie to prevent a crash found
with the afl fuzzer.

Obtained from:	OpenBSD (CVS Rev. 1.37)
MFC after:	1 week
2014-12-16 20:26:11 +00:00
..
tests sed(1): Don't force a newline on last line, if input stream doesn't have one 2014-08-08 17:29:01 +00:00
compile.c sed: Bounds check the file path used in the 'w' command. 2014-12-16 20:26:11 +00:00
defs.h sed(1): Don't force a newline on last line, if input stream doesn't have one 2014-08-08 17:29:01 +00:00
extern.h
main.c sed(1): Don't force a newline on last line, if input stream doesn't have one 2014-08-08 17:29:01 +00:00
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
misc.c Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
POSIX
process.c sed(1): Don't force a newline on last line, if input stream doesn't have one 2014-08-08 17:29:01 +00:00
sed.1 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00