aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2015-12-17 18:16:45 +0000
committerMark Felder <feld@FreeBSD.org>2015-12-17 18:16:45 +0000
commit9ce0905712c37fa760dc63e4ed72e4af21b25a14 (patch)
tree6f7b81798c08fd5610690f0b363562bf97f81749
parentfdca554eb86f094dbcc6a3858106566d2c8103a8 (diff)
downloadports-9ce0905712c37fa760dc63e4ed72e4af21b25a14.tar.gz
ports-9ce0905712c37fa760dc63e4ed72e4af21b25a14.zip
MFH: r403917
print/foomatic-filters: Patch vulnerabilities Approved by: ports-secteam (with hat) Security: CVE-2015-8560 Security: CVE-2015-8327
Notes
Notes: svn path=/branches/2015Q4/; revision=403918
-rw-r--r--print/foomatic-filters/Makefile2
-rw-r--r--print/foomatic-filters/files/patch-util.c12
2 files changed, 13 insertions, 1 deletions
diff --git a/print/foomatic-filters/Makefile b/print/foomatic-filters/Makefile
index 83957988abf5..b94b415b0704 100644
--- a/print/foomatic-filters/Makefile
+++ b/print/foomatic-filters/Makefile
@@ -3,7 +3,7 @@
PORTNAME= foomatic-filters
PORTVERSION= 4.0.17
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= print
MASTER_SITES= http://www.openprinting.org/download/foomatic/
diff --git a/print/foomatic-filters/files/patch-util.c b/print/foomatic-filters/files/patch-util.c
new file mode 100644
index 000000000000..b311fdab51dc
--- /dev/null
+++ b/print/foomatic-filters/files/patch-util.c
@@ -0,0 +1,12 @@
+Resolves CVE-2015-8327 and CVE-2015-8560
+--- util.c.orig 2015-12-17 18:07:21 UTC
++++ util.c
+@@ -31,7 +31,7 @@
+ #include <assert.h>
+
+
+-const char* shellescapes = "|<>&!$\'\"#*?()[]{}";
++const char* shellescapes = "|;<>&!$\'\"`#*?()[]{}";
+
+ const char * temp_dir()
+ {