diff options
author | 2019-10-07 02:14:06 +0200 | |
---|---|---|
committer | 2021-10-20 18:24:44 +0200 | |
commit | 240b63d55bf865e45a3dc2180db37a7cff83c95d (patch) | |
tree | 05ca9e8aaa262a6568c53484b27949620c9d5153 | |
parent | Import Ghostscript 9.55 (diff) | |
download | ghostscript-gpl-patches-240b63d55bf865e45a3dc2180db37a7cff83c95d.tar.gz ghostscript-gpl-patches-240b63d55bf865e45a3dc2180db37a7cff83c95d.tar.bz2 ghostscript-gpl-patches-240b63d55bf865e45a3dc2180db37a7cff83c95d.zip |
Make sure 'dvipdf' is being run securely
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-rwxr-xr-x | lib/dvipdf | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,4 +43,4 @@ fi # We have to include the options twice because -I only takes effect if it # appears before other options. -exec dvips -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS - +exec dvips -R -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS - |