[packages/sodipodi] - fix format string error - rel 11
baggins
baggins at pld-linux.org
Fri Nov 8 08:40:03 CET 2013
commit 3c1673c9c2a33d10be2ed26101f086cf0ceada8b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Nov 8 08:39:52 2013 +0100
- fix format string error
- rel 11
format-security.patch | 11 +++++++++++
sodipodi.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/sodipodi.spec b/sodipodi.spec
index dd02b03..973ab66 100644
--- a/sodipodi.spec
+++ b/sodipodi.spec
@@ -6,7 +6,7 @@ Summary: A GNOME Vector Graphics Application
Summary(pl.UTF-8): Aplikacja do grafiki wektorowej dla GNOME
Name: sodipodi
Version: 0.34
-Release: 10
+Release: 11
License: GPL
Group: Applications/Graphics
Source0: http://dl.sourceforge.net/sodipodi/%{name}-%{version}.tar.gz
@@ -15,6 +15,7 @@ Patch0: %{name}-desktop.patch
Patch1: %{name}-home_etc.patch
Patch2: %{name}-locale_names.patch
Patch3: %{name}-libpng15.patch
+Patch4: format-security.patch
URL: http://sodipodi.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
@@ -47,6 +48,7 @@ Sodipodi jest ogólnym programem do rysowania wektorowego dla
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
mv -f po/{no,nb}.po
mv -f po/sr\@{Latn,latin}.po
diff --git a/format-security.patch b/format-security.patch
new file mode 100644
index 0000000..ba6fdd1
--- /dev/null
+++ b/format-security.patch
@@ -0,0 +1,11 @@
+--- sodipodi-0.34/src/help.c~ 2004-02-06 22:24:55.000000000 +0100
++++ sodipodi-0.34/src/help.c 2013-11-08 08:38:05.983786203 +0100
+@@ -69,7 +69,7 @@
+ sp_help_about_module (const unsigned char *text)
+ {
+ GtkWidget *w;
+- w = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_OK, text);
++ w = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_OK, "%s", text);
+ gtk_dialog_run (GTK_DIALOG (w));
+ gtk_widget_destroy (w);
+ }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sodipodi.git/commitdiff/3c1673c9c2a33d10be2ed26101f086cf0ceada8b
More information about the pld-cvs-commit
mailing list