PKGBUILDs/extra/netpbm/netpbm-CAN-2005-2471.patch

17 lines
779 B
Diff
Raw Permalink Normal View History

2013-05-07 02:12:27 +00:00
--- netpbm-10.29/converter/other/pstopnm.c.CAN-2005-2471 2005-08-15 02:39:46.000000000 +0200
+++ netpbm-10.29/converter/other/pstopnm.c 2005-08-16 15:38:15.000000000 +0200
2023-12-13 20:09:17 +00:00
@@ -896,11 +896,11 @@
2013-05-07 02:12:27 +00:00
ghostscriptProg, arg0,
deviceopt, outfileopt, gopt, ropt, textalphabitsopt,
2023-12-13 20:09:17 +00:00
"-q", "-dNOPAUSE",
2013-05-07 02:12:27 +00:00
- "-dSAFER", "-");
+ "-dPARANOIDSAFER", "-");
}
2019-07-24 18:18:47 +00:00
execl(ghostscriptProg, arg0, deviceopt, outfileopt, gopt, ropt,
- textalphabitsopt, "-q", "-dNOPAUSE", "-dSAFER", "-", NULL);
+ textalphabitsopt, "-q", "-dNOPAUSE", "-dPARANOIDSAFER", "-", NULL);
2023-12-13 20:09:17 +00:00
2013-05-07 02:12:27 +00:00
pm_error("execl() of Ghostscript ('%s') failed, errno=%d (%s)",
ghostscriptProg, errno, strerror(errno));