[packages/wimax-tools] - fixed format string error - rel 4

baggins baggins at pld-linux.org
Fri Dec 6 20:17:06 CET 2013


commit 930c5120d75058817324786c91c5f98cfd61dcf7
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Dec 6 20:16:56 2013 +0100

    - fixed format string error
    - rel 4

 format-security.patch | 11 +++++++++++
 wimax-tools.spec      |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/wimax-tools.spec b/wimax-tools.spec
index 4652254..e3f4d77 100644
--- a/wimax-tools.spec
+++ b/wimax-tools.spec
@@ -2,12 +2,13 @@ Summary:	Low level user space tools for the Linux WiMAX stack
 Summary(pl.UTF-8):	Niskopoziomowe narzędzia przestrzeni użytkownika do stosu WiMAX Linuksa
 Name:		wimax-tools
 Version:	1.4.4
-Release:	3
+Release:	4
 License:	BSD
 Group:		Networking/Admin
 # http://www.linuxwimax.org/Download
 Source0:	%{name}-%{version}.tar.gz
 # Source0-md5:	6acd0e6971952a761c98e9b4c65e6b4e
+Patch0:		format-security.patch
 URL:		http://www.linuxwimax.org/
 BuildRequires:	doxygen
 BuildRequires:	glib2-devel >= 1:2.14
@@ -64,6 +65,7 @@ Statyczna biblioteka niskopoziomowa WiMAX.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure
diff --git a/format-security.patch b/format-security.patch
new file mode 100644
index 0000000..6a639ff
--- /dev/null
+++ b/format-security.patch
@@ -0,0 +1,11 @@
+--- wimax-tools-1.4.4/lib/log.c~	2010-09-29 10:47:32.000000000 +0200
++++ wimax-tools-1.4.4/lib/log.c	2013-12-06 20:15:10.718989411 +0100
+@@ -66,7 +66,7 @@
+ 		f = stdout;
+ 	else {
+ 		f = stderr;
+-		fprintf(f, header);
++		fprintf(f, "%s", header);
+ 	}
+ 	vfprintf(f, fmt, vargs);
+ }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wimax-tools.git/commitdiff/930c5120d75058817324786c91c5f98cfd61dcf7



More information about the pld-cvs-commit mailing list