summaryrefslogtreecommitdiff
path: root/source/l/netpbm/netpbm-CAN-2005-2471.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/netpbm/netpbm-CAN-2005-2471.patch')
-rw-r--r--source/l/netpbm/netpbm-CAN-2005-2471.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/source/l/netpbm/netpbm-CAN-2005-2471.patch b/source/l/netpbm/netpbm-CAN-2005-2471.patch
new file mode 100644
index 00000000..24495de1
--- /dev/null
+++ b/source/l/netpbm/netpbm-CAN-2005-2471.patch
@@ -0,0 +1,17 @@
+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
+ 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));