Files
pkgsrc-ng/print/a2ps/patches/patch-CVE-2014-0466_2
2016-01-21 23:40:00 +01:00

18 lines
523 B
Plaintext

$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