[packages/libsocialweb] - fix format string errors - rel 2

baggins baggins at pld-linux.org
Sun Apr 5 20:27:23 CEST 2015


commit ba21c1b496692a464dd77e24ee815e90b3d50750
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Apr 5 18:26:57 2015 +0000

    - fix format string errors
    - rel 2

 format-security.patch | 11 +++++++++++
 libsocialweb.spec     |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/libsocialweb.spec b/libsocialweb.spec
index d050065..eadb900 100644
--- a/libsocialweb.spec
+++ b/libsocialweb.spec
@@ -8,12 +8,13 @@ Summary:	A social network data aggregator
 Summary(pl.UTF-8):	Agregator danych z sieci społecznościowych
 Name:		libsocialweb
 Version:	0.25.21
-Release:	1
+Release:	2
 License:	LGPL v2
 Group:		Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/libsocialweb/0.25/%{name}-%{version}.tar.xz
 # Source0-md5:	4a31221a7855f40b6e263519ee84c6b3
 Patch0:		%{name}-gir.patch
+Patch1:		format-security.patch
 URL:		http://www.gnome.org/
 BuildRequires:	GConf2-devel >= 2.0
 BuildRequires:	autoconf >= 2.63
@@ -109,6 +110,7 @@ API libsocialweb dla języka Vala.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/format-security.patch b/format-security.patch
new file mode 100644
index 0000000..e1b75c7
--- /dev/null
+++ b/format-security.patch
@@ -0,0 +1,11 @@
+--- libsocialweb-0.25.21/libsocialweb-client/sw-client-service.c~	2012-10-15 11:11:53.000000000 +0000
++++ libsocialweb-0.25.21/libsocialweb-client/sw-client-service.c	2015-04-05 18:24:08.633623731 +0000
+@@ -595,7 +595,7 @@
+                                          closure->userdata,
+                                          SW_CLIENT_SERVICE_ERROR,
+                                          0,
+-                                         error_message);
++                                         "%s", error_message);
+     g_object_unref (closure->service);
+     g_slice_free (SwClientServiceCallClosure, closure);
+     return;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libsocialweb.git/commitdiff/ba21c1b496692a464dd77e24ee815e90b3d50750



More information about the pld-cvs-commit mailing list