diff options
Diffstat (limited to 'print/a2ps/patches/patch-CVE-2014-0466_2')
-rw-r--r-- | print/a2ps/patches/patch-CVE-2014-0466_2 | 17 |
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..8e19b70e6b9 --- /dev/null +++ b/print/a2ps/patches/patch-CVE-2014-0466_2 @@ -0,0 +1,17 @@ +$NetBSD: patch-CVE-2014-0466_2,v 1.1 2014/04/08 19:32:11 tez 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 |