[packages/fbida] - fix format string error - rel 6

baggins baggins at pld-linux.org
Fri Nov 8 17:55:58 CET 2013


commit 54a32f048f1022ec09a190f9439f87024b08cb0c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Nov 8 17:55:46 2013 +0100

    - fix format string error
    - rel 6

 fbida.spec            |  4 +++-
 format-security.patch | 11 +++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/fbida.spec b/fbida.spec
index 8b17cd0..f8ad775 100644
--- a/fbida.spec
+++ b/fbida.spec
@@ -21,13 +21,14 @@ Summary:	fbida - a few applications for viewing and editing images
 Summary(pl.UTF-8):	fbida - kilka aplikacji do oglądania i edycji obrazków
 Name:		fbida
 Version:	2.09
-Release:	5
+Release:	6
 License:	GPL
 Group:		Applications/Graphics
 Source0:	http://www.kraxel.org/releases/fbida/%{name}-%{version}.tar.gz
 # Source0-md5:	62415c7cb28d995f9d317868de0f2830
 Patch0:		%{name}-config-noforce.patch
 Patch1:		%{name}-desktop.patch
+Patch2:		format-security.patch
 URL:		http://www.kraxel.org/blog/linux/fbida/
 BuildRequires:	ImageMagick-devel
 %{?with_curl:BuildRequires:	curl-devel}
@@ -124,6 +125,7 @@ Dostępne jest też trochę podstawowych funkcji edycyjnych.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 CFLAGS="%{rpmcflags}" \
diff --git a/format-security.patch b/format-security.patch
new file mode 100644
index 0000000..0e95c6e
--- /dev/null
+++ b/format-security.patch
@@ -0,0 +1,11 @@
+--- fbida-2.09/wr/write-ps.c~	2012-02-22 18:13:36.000000000 +0100
++++ fbida-2.09/wr/write-ps.c	2013-11-08 17:54:52.546636006 +0100
+@@ -457,7 +457,7 @@
+ 	    fprintf(fp,"\n");
+ 	}
+     }
+-    fprintf(fp,footer);
++    fprintf(fp,"%s",footer);
+     return 0;
+ }
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fbida.git/commitdiff/54a32f048f1022ec09a190f9439f87024b08cb0c



More information about the pld-cvs-commit mailing list