[packages/uucp] - fix format string error
baggins
baggins at pld-linux.org
Thu Aug 6 21:48:44 CEST 2015
commit 83469d380fbb4da122fb2e2a2fd23542cc97dda0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Thu Aug 6 21:48:34 2015 +0200
- fix format string error
format-security.patch | 11 +++++++++++
uucp.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/uucp.spec b/uucp.spec
index 53438c6..07c21f5 100644
--- a/uucp.spec
+++ b/uucp.spec
@@ -24,6 +24,7 @@ Patch1: %{name}-debian.patch
Patch2: %{name}-ac.patch
Patch3: %{name}-pipe.patch
Patch4: %{name}-no_libnsl.patch
+Patch5: format-security.patch
URL: http://lists.cirr.com/cgi-bin/wilma/taylor-uucp/
BuildRequires: autoconf
BuildRequires: automake
@@ -107,6 +108,7 @@ Serwer GNU uucp.
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
find . -name "*.perlpath" | xargs rm -f
diff --git a/format-security.patch b/format-security.patch
new file mode 100644
index 0000000..35c26de
--- /dev/null
+++ b/format-security.patch
@@ -0,0 +1,11 @@
+--- uucp-1.07/uuconv.c~ 2003-05-29 08:08:47.000000000 +0200
++++ uucp-1.07/uuconv.c 2015-08-06 21:46:20.878894404 +0200
+@@ -676,7 +676,7 @@
+ {
+ if ((*pz)[0] != '-' && pz != pzarg)
+ fprintf (e, " ");
+- fprintf (e, *pz);
++ fputs (*pz, e);
+ }
+ }
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/uucp.git/commitdiff/83469d380fbb4da122fb2e2a2fd23542cc97dda0
More information about the pld-cvs-commit
mailing list