Репозитории ALT
S: | 10.01.1-alt1 |
5.1: | 9.01-alt0.M50P.1 |
4.1: | 8.63-alt0.M41.4 |
4.0: | 8.15.4-alt1.M40.4 |
+updates: | 8.15.4-alt1.M40.4 |
3.0: | 7.07.1-alt7 |
Группа :: Издательство
Пакет: ghostscript
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: FC-9.23-100-run-dvipdf-securely.patch
Скачать
Скачать
From 91c9c6d17d445781ee572c281b8b9d75d96f9df8 Mon Sep 17 00:00:00 2001
From: "David Kaspar [Dee'Kej]" <dkaspar@redhat.com>
Date: Fri, 7 Oct 2016 13:57:01 +0200
Subject: [PATCH] Make sure 'dvipdf' is being run securely
---
lib/dvipdf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/dvipdf b/lib/dvipdf
index 802aeab..c92dfb0 100755
--- a/lib/dvipdf
+++ b/lib/dvipdf
@@ -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
--
2.14.3