netpbm/netpbm-CAN-2005-2471.patch
Petr Hracek d776db3079 New upstream release 10.71.02 (#1252352)
Signed-off-by: Petr Hracek <phracek@redhat.com>
2015-08-11 12:05:10 +02:00

19 lines
791 B
Diff

diff --git a/converter/other/pstopnm.c b/converter/other/pstopnm.c
index b253442..dca141f 100644
--- a/converter/other/pstopnm.c
+++ b/converter/other/pstopnm.c
@@ -811,11 +811,11 @@ execGhostscript(int const inputPipeFd,
ghostscriptProg, arg0,
deviceopt, outfileopt, gopt, ropt, textalphabitsopt,
"-q", "-dNOPAUSE",
- "-dSAFER", "-");
+ "-dPARANOIDSAFER", "-");
}
execl(ghostscriptProg, arg0, deviceopt, outfileopt, gopt, ropt, "-q",
- "-dNOPAUSE", "-dSAFER", "-", NULL);
+ "-dNOPAUSE", "-dPARANOIDSAFER", "-", NULL);
pm_error("execl() of Ghostscript ('%s') failed, errno=%d (%s)",
ghostscriptProg, errno, strerror(errno));