summaryrefslogtreecommitdiff
path: root/print/a2ps/patches/patch-CVE-2014-0466_1
diff options
context:
space:
mode:
Diffstat (limited to 'print/a2ps/patches/patch-CVE-2014-0466_1')
-rw-r--r--print/a2ps/patches/patch-CVE-2014-0466_117
1 files changed, 17 insertions, 0 deletions
diff --git a/print/a2ps/patches/patch-CVE-2014-0466_1 b/print/a2ps/patches/patch-CVE-2014-0466_1
new file mode 100644
index 00000000000..b29d1e1e9df
--- /dev/null
+++ b/print/a2ps/patches/patch-CVE-2014-0466_1
@@ -0,0 +1,17 @@
+$NetBSD: patch-CVE-2014-0466_1,v 1.1.2.2 2014/04/14 14:47:45 tron Exp $
+
+Fix for CVE-2014-0466 from
+ https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742902
+
+
+--- contrib/fixps.in
++++ contrib/fixps.in
+@@ -389,7 +389,7 @@
+ eval "$command" ;;
+ gs)
+ $verbose "$program: making a full rewrite of the file ($gs)." >&2
+- $gs -q -dNOPAUSE -dBATCH -sDEVICE=pswrite -sOutputFile=- -c save pop -f $file ;;
++ $gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pswrite -sOutputFile=- -c save pop -f $file ;;
+ esac
+ )
+ fi