24ab9e3
diff -up a2ps-4.14/contrib/fixps.in.CVE-2014-0466 a2ps-4.14/contrib/fixps.in
24ab9e3
--- a2ps-4.14/contrib/fixps.in.CVE-2014-0466	2014-04-01 15:35:04.168904356 +0100
24ab9e3
+++ a2ps-4.14/contrib/fixps.in	2014-04-01 15:35:36.509060292 +0100
24ab9e3
@@ -389,7 +389,7 @@ if test $task != check; then
24ab9e3
   	eval "$command" ;;
24ab9e3
       gs)
24ab9e3
         $verbose "$program: making a full rewrite of the file ($gs)." >&2
24ab9e3
-  	$gs -q -dNOPAUSE -dBATCH -sDEVICE=pswrite -sOutputFile=- -c save pop -f $file ;;
24ab9e3
+  	$gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pswrite -sOutputFile=- -c save pop -f $file ;;
24ab9e3
     esac
24ab9e3
   )
24ab9e3
 fi
24ab9e3
diff -up a2ps-4.14/contrib/fixps.m4.CVE-2014-0466 a2ps-4.14/contrib/fixps.m4
24ab9e3
--- a2ps-4.14/contrib/fixps.m4.CVE-2014-0466	2014-04-01 15:35:06.885917452 +0100
24ab9e3
+++ a2ps-4.14/contrib/fixps.m4	2014-04-01 15:35:48.748119336 +0100
24ab9e3
@@ -307,7 +307,7 @@ if test $task != check; then
24ab9e3
   	eval "$command" ;;
24ab9e3
       gs)
24ab9e3
         $verbose "$program: making a full rewrite of the file ($gs)." >&2
24ab9e3
-  	$gs -q -dNOPAUSE -dBATCH -sDEVICE=pswrite -sOutputFile=- -c save pop -f $file ;;
24ab9e3
+  	$gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pswrite -sOutputFile=- -c save pop -f $file ;;
24ab9e3
     esac
24ab9e3
   )
24ab9e3
 fi