2019-07-23 00:09:56 +02:00
|
|
|
diff --git a/converter/other/pstopnm.c b/converter/other/pstopnm.c
|
|
|
|
index f534265..2ab48ab 100644
|
|
|
|
--- a/converter/other/pstopnm.c
|
|
|
|
+++ b/converter/other/pstopnm.c
|
|
|
|
@@ -896,11 +896,11 @@ execGhostscript(int const inputPipeFd,
|
2018-11-13 06:15:29 +01:00
|
|
|
ghostscriptProg, arg0,
|
|
|
|
deviceopt, outfileopt, gopt, ropt, textalphabitsopt,
|
|
|
|
"-q", "-dNOPAUSE",
|
|
|
|
- "-dSAFER", "-");
|
|
|
|
+ "-dPARANOIDSAFER", "-");
|
|
|
|
}
|
|
|
|
|
2019-07-23 00:09:56 +02:00
|
|
|
- execl(ghostscriptProg, arg0, deviceopt, outfileopt, gopt, ropt,
|
|
|
|
- textalphabitsopt, "-q", "-dNOPAUSE", "-dSAFER", "-", NULL);
|
|
|
|
+ execl(ghostscriptProg, arg0, deviceopt, outfileopt, gopt, ropt, "-q",
|
2018-11-13 06:15:29 +01:00
|
|
|
+ "-dNOPAUSE", "-dPARANOIDSAFER", "-", NULL);
|
|
|
|
|
|
|
|
pm_error("execl() of Ghostscript ('%s') failed, errno=%d (%s)",
|
|
|
|
ghostscriptProg, errno, strerror(errno));
|