2021-06-02 19:04:08 +00:00
|
|
|
diff -urNp a/converter/other/pstopnm.c b/converter/other/pstopnm.c
|
|
|
|
--- a/converter/other/pstopnm.c 2018-07-23 15:14:51.200658026 +0200
|
|
|
|
+++ b/converter/other/pstopnm.c 2018-07-23 15:18:12.579910612 +0200
|
|
|
|
@@ -896,11 +896,11 @@ execGhostscript(int const
|
2018-06-04 12:47:58 +00:00
|
|
|
ghostscriptProg, arg0,
|
|
|
|
deviceopt, outfileopt, gopt, ropt, textalphabitsopt,
|
2018-07-23 13:30:35 +00:00
|
|
|
"-q", "-dNOPAUSE",
|
2018-06-04 12:47:58 +00:00
|
|
|
- "-dSAFER", "-");
|
|
|
|
+ "-dPARANOIDSAFER", "-");
|
|
|
|
}
|
|
|
|
|
2021-06-02 19:04:08 +00:00
|
|
|
execl(ghostscriptProg, arg0, deviceopt, outfileopt, gopt, ropt,
|
2019-04-01 13:37:15 +00:00
|
|
|
- textalphabitsopt, "-q", "-dNOPAUSE", "-dSAFER", "-", NULL);
|
2021-06-02 19:04:08 +00:00
|
|
|
+ "-q", "-dNOPAUSE", "-dPARANOIDSAFER", "-", NULL);
|
2018-07-23 13:30:35 +00:00
|
|
|
|
2018-06-04 12:47:58 +00:00
|
|
|
pm_error("execl() of Ghostscript ('%s') failed, errno=%d (%s)",
|
|
|
|
ghostscriptProg, errno, strerror(errno));
|