summaryrefslogtreecommitdiff
path: root/print/a2ps/patches/patch-CVE-2014-0466_2
diff options
context:
space:
mode:
Diffstat (limited to 'print/a2ps/patches/patch-CVE-2014-0466_2')
-rw-r--r--print/a2ps/patches/patch-CVE-2014-0466_217
1 files changed, 17 insertions, 0 deletions
diff --git a/print/a2ps/patches/patch-CVE-2014-0466_2 b/print/a2ps/patches/patch-CVE-2014-0466_2
new file mode 100644
index 00000000000..b008394dbad
--- /dev/null
+++ b/print/a2ps/patches/patch-CVE-2014-0466_2
@@ -0,0 +1,17 @@
+$NetBSD: patch-CVE-2014-0466_2,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.m4
++++ contrib/fixps.m4
+@@ -307,7 +307,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