From a90c077a0eafafe9851a4c641012131438087b2d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 22 Aug 2018 15:54:20 +0200 Subject: Add patch to work around false positive in format-security check (From rpmfusion, by Paul Howarth ) --- pdflib-lite-7.0.5-format-security.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pdflib-lite-7.0.5-format-security.patch (limited to 'pdflib-lite-7.0.5-format-security.patch') 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];\ -- cgit