Blame SOURCES/a2ps-CVE-2014-0466.patch

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