summaryrefslogtreecommitdiff
path: root/print/a2ps/patches/patch-CVE-2014-0466_1
blob: b29d1e1e9df817dc7a4a9cbb66b920f243ace03c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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