[packages/pdflib] - rel 28 - more format string fixes

baggins baggins at pld-linux.org
Tue Jun 11 14:29:59 CEST 2013


commit dc09fd2fd199df7aa59b4fbf8e4722675c730847
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Jun 11 14:29:48 2013 +0200

    - rel 28
    - more format string fixes

 format-security.patch | 11 +++++++++++
 pdflib.spec           |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/pdflib.spec b/pdflib.spec
index 03b73ea..f7dc2d4 100644
--- a/pdflib.spec
+++ b/pdflib.spec
@@ -19,7 +19,7 @@ Summary:	Portable C library for dynamically generating PDF files
 Summary(pl.UTF-8):	Przenośna biblioteka C do dynamicznego generowania plików PDF
 Name:		pdflib
 Version:	4.0.3
-Release:	27
+Release:	28
 License:	Aladdin Free Public License
 Group:		Libraries
 Source0:	%{name}-%{version}.tar.gz
diff --git a/format-security.patch b/format-security.patch
index 13d0024..2dcba79 100644
--- a/format-security.patch
+++ b/format-security.patch
@@ -51,3 +51,14 @@
  	return;
      }
  	
+--- pdflib-4.0.3/bind/perl/pdflib_pl.c~	2013-06-11 13:57:16.709215093 +0200
++++ pdflib-4.0.3/bind/perl/pdflib_pl.c	2013-06-11 14:28:31.358937900 +0200
+@@ -388,7 +388,7 @@
+ #include "pdflib.h"
+ 
+ /* exception handling is currently not thread-safe! */
+-#define SWIG_exception(msg)   	croak(msg)
++#define SWIG_exception(msg)   	croak("%s", msg)
+ static jmp_buf			exception_buffer;
+ static int			exception_status;
+ static char			error_message[256];
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pdflib.git/commitdiff/dc09fd2fd199df7aa59b4fbf8e4722675c730847



More information about the pld-cvs-commit mailing list