diff options
Diffstat (limited to 'pdflib-lite-7.0.5-format-security.patch')
-rw-r--r-- | pdflib-lite-7.0.5-format-security.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pdflib-lite-7.0.5-format-security.patch b/pdflib-lite-7.0.5-format-security.patch new file mode 100644 index 0000000..4c3e6ae --- /dev/null +++ b/pdflib-lite-7.0.5-format-security.patch @@ -0,0 +1,11 @@ +--- bind/pdflib/perl/pdflib_pl.c ++++ bind/pdflib/perl/pdflib_pl.c +@@ -375,7 +375,7 @@ SWIGEXPORT(void,boot_pdflib_pl)(CV *cv, + #include "pdflib.h" + + /* Exception handling */ +-#define SWIG_exception(msg) croak(msg) ++#define SWIG_exception(msg) croak("%s", msg) + #define try PDF_TRY(p) + #define catch PDF_CATCH(p) { \ + char errmsg[1024];\ |