]> git.pld-linux.org Git - packages/sftp.git/commitdiff
- fix format string error auto/th/sftp-0.9.9-8
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 20 Oct 2016 07:18:58 +0000 (09:18 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 20 Oct 2016 07:18:58 +0000 (09:18 +0200)
- rel 8

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

diff --git a/format-security.patch b/format-security.patch
new file mode 100644 (file)
index 0000000..0973202
--- /dev/null
@@ -0,0 +1,11 @@
+--- sftp-0.9.9/sftp.c~ 2001-03-06 22:42:17.000000000 +0100
++++ sftp-0.9.9/sftp.c  2016-10-20 09:17:59.296238176 +0200
+@@ -211,7 +211,7 @@
+       if (nargs == 1) {
+               printf("Supported commands are:\n");
+               for (i = 0; action[i].str != NULL; i++) {
+-                      printf(action[i].str);
++                      puts(action[i].str);
+                       if (i % 8 == 7)
+                               putchar('\n');
+                       else
index ac88bbcd2fea06b6bf47a934db106420c8794b38..4f2e175c2caf132e2a819fcfbcb3f0523fd17b0d 100644 (file)
--- a/sftp.spec
+++ b/sftp.spec
@@ -2,13 +2,14 @@ Summary:      sftp: a ftp-replacement over an rsh/ssh tunnel
 Summary(pl.UTF-8):     Zamiennik ftp działający poprzez tunel rsh/ssh
 Name:          sftp
 Version:       0.9.9
-Release:       7
+Release:       8
 License:       GPL
 Group:         Applications/Networking
 Source0:       http://www.xbill.org/sftp/download/old/%{name}-%{version}.tar.gz
 # Source0-md5: 9880c86ed928997da069bdb108bf4ad9
 Patch0:                %{name}-DESTDIR.patch
 Patch1:                %{name}-open.patch
+Patch2:                format-security.patch
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: readline-devel >= 4.1
@@ -33,6 +34,7 @@ dwa programy - sftp i sftpserv.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__aclocal}
This page took 0.066987 seconds and 4 git commands to generate.