[packages/clearsilver] - fix format string error - rel 8
baggins
baggins at pld-linux.org
Tue Jun 11 14:56:08 CEST 2013
commit 01fc3a5bbdc0af58cb827b053b7c9e25fa3b802d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Jun 11 14:55:54 2013 +0200
- fix format string error
- rel 8
clearsilver.spec | 4 +++-
format-security.patch | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/clearsilver.spec b/clearsilver.spec
index 7cea506..31b04b0 100644
--- a/clearsilver.spec
+++ b/clearsilver.spec
@@ -2,12 +2,13 @@ Summary: ClearSilver HTML template system
Summary(pl.UTF-8): ClearSilver - system szablonów HTML
Name: clearsilver
Version: 0.10.5
-Release: 7
+Release: 8
License: Apache License style
Group: Development/Libraries
Source0: http://www.clearsilver.net/downloads/%{name}-%{version}.tar.gz
# Source0-md5: b8c0c7fbe0ef5e06e0c935f134304d44
Patch0: %{name}-pic.patch
+Patch1: format-security.patch
URL: http://www.clearsilver.net/
BuildRequires: autoconf
BuildRequires: automake
@@ -88,6 +89,7 @@ ClearSilver.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
find . -type f -print0 | xargs -0 perl -pi -e "s!/usr/local/bin!/usr/bin!g"
diff --git a/format-security.patch b/format-security.patch
new file mode 100644
index 0000000..69d81d6
--- /dev/null
+++ b/format-security.patch
@@ -0,0 +1,11 @@
+--- clearsilver-0.10.5/python/neo_cgi.c~ 2013-06-11 14:54:21.825300922 +0200
++++ clearsilver-0.10.5/python/neo_cgi.c 2013-06-11 14:54:56.992346488 +0200
+@@ -178,7 +178,7 @@
+ if (!PyArg_ParseTuple(args, "s:error(str)", &s))
+ return NULL;
+
+- cgi_error (cgi, s);
++ cgi_error (cgi, "%s", s);
+ rv = Py_None;
+ Py_INCREF(rv);
+ return rv;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/clearsilver.git/commitdiff/01fc3a5bbdc0af58cb827b053b7c9e25fa3b802d
More information about the pld-cvs-commit
mailing list