[packages/fribidi] - fix format string error

baggins baggins at pld-linux.org
Wed Dec 4 08:11:11 CET 2013


commit cec29541927d64ac5885bd7e54016777b47c772f
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Dec 4 08:11:02 2013 +0100

    - fix format string error

 format-security.patch | 11 +++++++++++
 fribidi.spec          |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/fribidi.spec b/fribidi.spec
index 5ee3154..75f10eb 100644
--- a/fribidi.spec
+++ b/fribidi.spec
@@ -12,6 +12,7 @@ License:	LGPL v2.1+
 Group:		Libraries
 Source0:	http://fribidi.org/download/%{name}-%{version}.tar.bz2
 # Source0-md5:	925bafb97afee8a2fc2d0470c072a155
+Patch0:		format-security.patch
 URL:		http://fribidi.freedesktop.org/
 BuildRequires:	autoconf >= 2.64
 BuildRequires:	automake >= 1:1.11.1
@@ -58,6 +59,7 @@ Biblioteka statyczna FriBidi.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/format-security.patch b/format-security.patch
new file mode 100644
index 0000000..c0aea53
--- /dev/null
+++ b/format-security.patch
@@ -0,0 +1,11 @@
+--- fribidi-0.19.5/bin/fribidi-main.c~	2012-12-02 17:25:39.000000000 +0100
++++ fribidi-0.19.5/bin/fribidi-main.c	2013-12-04 08:10:07.394884765 +0100
+@@ -609,7 +609,7 @@
+ 	    }
+ 
+ 	    if (*nl_found)
+-	      printf (new_line);
++	      printf ("%s",new_line);
+ 	  }
+       }
+     }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fribidi.git/commitdiff/cec29541927d64ac5885bd7e54016777b47c772f



More information about the pld-cvs-commit mailing list