summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/common.h
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2015-07-28 19:58:44 +0000
committerdelphij <delphij@FreeBSD.org>2015-07-28 19:58:44 +0000
commitd3ecbb901935c309843d4d32e0c467e20eea8958 (patch)
treecd53033984168fc2087077ececf72787bc246d24 /usr.bin/patch/common.h
parent87ad559404a19eaa8260bddc37528dfcec7df737 (diff)
downloadFreeBSD-src-d3ecbb901935c309843d4d32e0c467e20eea8958.zip
FreeBSD-src-d3ecbb901935c309843d4d32e0c467e20eea8958.tar.gz
Fix patch(1) shell injection vulnerability. [SA-15:14]
Fix resource exhaustion in TCP reassembly. [SA-15:15] Fix OpenSSH multiple vulnerabilities. [SA-15:16]
Diffstat (limited to 'usr.bin/patch/common.h')
-rw-r--r--usr.bin/patch/common.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/patch/common.h b/usr.bin/patch/common.h
index 8963c83..f33abcf 100644
--- a/usr.bin/patch/common.h
+++ b/usr.bin/patch/common.h
@@ -43,12 +43,10 @@
#define LINENUM_MAX LONG_MAX
#define SCCSPREFIX "s."
-#define GET "get -e %s"
-#define SCCSDIFF "get -p %s | diff - %s >/dev/null"
#define RCSSUFFIX ",v"
-#define CHECKOUT "co -l %s"
-#define RCSDIFF "rcsdiff %s > /dev/null"
+#define CHECKOUT "/usr/bin/co"
+#define RCSDIFF "/usr/bin/rcsdiff"
#define ORIGEXT ".orig"
#define REJEXT ".rej"
OpenPOWER on IntegriCloud