[packages/seed] - fix format string error - rel 2
baggins
baggins at pld-linux.org
Thu Dec 5 22:20:16 CET 2013
commit 014f89787f131254cb35ef3750008f7372a62bde
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Dec 5 22:20:05 2013 +0100
- fix format string error
- rel 2
format-security.patch | 11 +++++++++++
seed.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/seed.spec b/seed.spec
index b461aac..225021f 100644
--- a/seed.spec
+++ b/seed.spec
@@ -6,11 +6,12 @@ Summary: JavaScript interpreter
Summary(pl.UTF-8): Interpreter JavaScriptu
Name: seed
Version: 3.8.1
-Release: 1
+Release: 2
License: LGPL v2+
Group: Development/Languages
Source0: http://ftp.gnome.org/pub/GNOME/sources/seed/3.8/%{name}-%{version}.tar.xz
# Source0-md5: f5afeb04343e0cb56d2396f0d0458988
+Patch0: format-security.patch
URL: http://live.gnome.org/Seed
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.7
@@ -90,6 +91,7 @@ Dokumentacja API biblioteki seed.
%prep
%setup -q
+%patch0 -p1
%build
%{__intltoolize}
diff --git a/format-security.patch b/format-security.patch
new file mode 100644
index 0000000..fec5fa7
--- /dev/null
+++ b/format-security.patch
@@ -0,0 +1,11 @@
+--- seed-3.8.1/libseed/seed-types.c~ 2013-04-16 09:58:20.000000000 +0200
++++ seed-3.8.1/libseed/seed-types.c 2013-12-05 22:18:46.317881733 +0100
+@@ -1213,7 +1213,7 @@
+ {
+ char *error_message = g_strdup_printf ("Unable to make object from hash table indexed with values of type %s", g_type_tag_to_string (key_type_tag));
+ seed_make_exception (ctx, exception, "ArgumentError",
+- error_message);
++ "%s", error_message);
+ g_free (error_message);
+ return JSValueMakeNull (ctx);
+ }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/seed.git/commitdiff/014f89787f131254cb35ef3750008f7372a62bde
More information about the pld-cvs-commit
mailing list