freebsd-skq/usr.bin/patch
delphij 90e38dfd93 Fix shell injection vulnerability in patch(1) via ed(1) by
tightening sanity check of the input. [1]

While I'm there also replace ed(1) with red(1) because we do
not need the unrestricted functionality. [2]

Obtained from:	Bitrig [1], DragonFly [2]
Security:	CVE-2015-1418 [1]
2015-08-05 22:04:54 +00:00
..
backupfile.c patch(1): Add -Vnone option to disable backup files 2015-07-21 22:57:27 +00:00
backupfile.h
common.h Fix shell injection vulnerability in patch(1) and drop SCCS 2015-07-28 19:58:36 +00:00
inp.c Fix shell injection vulnerability in patch(1) and drop SCCS 2015-07-28 19:58:36 +00:00
inp.h
Makefile Drop build option switch for the older GNU patch. 2013-08-29 00:38:24 +00:00
mkpath.c
patch.1 patch(1): Add -Vnone option to disable backup files 2015-07-21 22:57:27 +00:00
patch.c patch(1): Add -Vnone option to disable backup files 2015-07-21 22:57:27 +00:00
pathnames.h Fix shell injection vulnerability in patch(1) via ed(1) by 2015-08-05 22:04:54 +00:00
pch.c Fix shell injection vulnerability in patch(1) via ed(1) by 2015-08-05 22:04:54 +00:00
pch.h patch: unsign the line length to avoid overflows. 2014-06-15 03:54:23 +00:00
util.c patch(1): small include changes. 2015-04-20 22:15:18 +00:00
util.h patch: Bring in xstrdup and use it when appropriate. 2014-12-25 21:51:28 +00:00