]> git.pld-linux.org Git - packages/usplash.git/commitdiff
- fix format string errors auto/th/usplash-0.5.19-7
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 14 Jul 2013 17:52:20 +0000 (19:52 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 14 Jul 2013 17:52:20 +0000 (19:52 +0200)
- rel 7

format-security.patch [new file with mode: 0644]
usplash.spec

diff --git a/format-security.patch b/format-security.patch
new file mode 100644 (file)
index 0000000..deb97f2
--- /dev/null
@@ -0,0 +1,20 @@
+--- usplash/bogl/reduce-font.c.orig    2013-07-14 19:51:19.125683835 +0200
++++ usplash/bogl/reduce-font.c 2013-07-14 19:51:32.319146874 +0200
+@@ -146,7 +146,7 @@
+                     else if (strncmp (buf, "STARTCHAR ", 10) == 0)
+                         header = 0;
+                     else
+-                        fprintf (stdout, buf);
++                        fprintf (stdout, "%s", buf);
+                 }
+                 
+                 if (!header)
+@@ -159,7 +159,7 @@
+                     }
+                     if (docopy)
+-                        fprintf (stdout, buf);
++                        fprintf (stdout, "%s", buf);
+                 }
+             }
index cc7776f63509bc8c1505d650d72808865cd876fd..39d68fd075a8ab485ecdea9a8716ee3aa1cbdaaf 100644 (file)
@@ -3,12 +3,13 @@ Summary(de.UTF-8):    Eine Boosplashes Utility die auf der Benutzerebene arbeitet
 Summary(pl.UTF-8):     Narzędzie do bootsplasha w przestrzeni użytkownika
 Name:          usplash
 Version:       0.5.19
-Release:       6
+Release:       7
 License:       GPL
 Group:         Applications
 Source0:       http://ftp.debian.org/debian/pool/main/u/usplash/%{name}_%{version}.orig.tar.gz
 # Source0-md5: ede767c140267db65b956d04276d4a23
 Patch0:                %{name}-includes.patch
+Patch1:                format-security.patch
 URL:           https://wiki.ubuntu.com/USplash
 BuildRequires: dpkg
 BuildRequires: gd-devel >= 2.0.0
@@ -57,6 +58,7 @@ Pliki nagłówkowe usplasha.
 %prep
 %setup -q -n %{name}
 %patch0 -p0
+%patch1 -p1
 
 %build
 %{__make} -C bogl \
This page took 0.100593 seconds and 4 git commands to generate.