[packages/freetype1] - fix format string warning - rel 15

baggins baggins at pld-linux.org
Wed Dec 12 13:06:15 CET 2012


commit edde2b17bd7a93e8a35d99576fd504af57abf25b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Dec 12 13:06:01 2012 +0100

    - fix format string warning
    - rel 15

 format-security.patch | 11 +++++++++++
 freetype1.spec        |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/freetype1.spec b/freetype1.spec
index 01ddd91..5401073 100644
--- a/freetype1.spec
+++ b/freetype1.spec
@@ -8,7 +8,7 @@ Summary:	Truetype font rasterizer
 Summary(pl.UTF-8):	Rasteryzer fontów Truetype
 Name:		freetype1
 Version:	1.3.1
-Release:	14
+Release:	15
 License:	BSD-like
 Group:		Libraries
 Source0:	ftp://ftp.freetype.org/freetype/freetype1/freetype-%{version}.tar.gz
@@ -19,6 +19,7 @@ Patch2:		%{name}-po.patch
 Patch3:		freetype-gcc33.patch
 Patch4:		%{name}-parallel-make.patch
 Patch5:		%{name}-link.patch
+Patch6:		format-security.patch
 URL:		http://freetype.sourceforge.net/freetype1/index.html
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -123,6 +124,7 @@ Przykładowe aplikacje wykorzystujące freetype:
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 install /usr/share/automake/missing .
diff --git a/format-security.patch b/format-security.patch
new file mode 100644
index 0000000..5b76394
--- /dev/null
+++ b/format-security.patch
@@ -0,0 +1,11 @@
+--- freetype-1.3.1/test/ftdump.c~	2012-12-12 13:04:33.074183494 +0100
++++ freetype-1.3.1/test/ftdump.c	2012-12-12 13:05:19.357515195 +0100
+@@ -312,7 +312,7 @@
+       printf( "%s\n\n", name_buffer );
+ 
+     if ( LookUp_Name( 7 ) )
+-      printf( name_buffer );
++      printf( "%s", name_buffer );
+ 
+     printf( "\n" );
+     separator_line( stdout, 78 );
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/freetype1.git/commitdiff/edde2b17bd7a93e8a35d99576fd504af57abf25b



More information about the pld-cvs-commit mailing list