Accepting request 40041 from Base:System

Copy from Base:System/openssh based on submit request 40041 from user anicka

OBS-URL: https://build.opensuse.org/request/show/40041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssh?expand=0&rev=42
This commit is contained in:
OBS User autobuild 2010-05-14 22:29:46 +00:00 committed by Git OBS Bridge
parent 26b9ced252
commit 9ad30c5bed
4 changed files with 21 additions and 2 deletions

View File

@ -0,0 +1,12 @@
Index: openssh-5.4p1/sftp-client.c
===================================================================
--- openssh-5.4p1.orig/sftp-client.c
+++ openssh-5.4p1/sftp-client.c
@@ -713,6 +713,7 @@ do_realpath(struct sftp_conn *conn, char
u_int status = buffer_get_int(&msg);
error("Couldn't canonicalise: %s", fx2txt(status));
+ buffer_free(&msg);
return(NULL);
} else if (type != SSH2_FXP_NAME)
fatal("Expected SSH2_FXP_NAME(%u) packet, got %u",

View File

@ -23,7 +23,7 @@ BuildRequires: gtk2-devel krb5-devel opensc-devel openssh openssl-devel pam-dev
License: BSD3c(or similar) License: BSD3c(or similar)
Group: Productivity/Networking/SSH Group: Productivity/Networking/SSH
Version: 5.4p1 Version: 5.4p1
Release: 3 Release: 4
Requires: openssh = %{version} openssh-askpass = %{version} Requires: openssh = %{version} openssh-askpass = %{version}
AutoReqProv: on AutoReqProv: on
Summary: A GNOME-Based Passphrase Dialog for OpenSSH Summary: A GNOME-Based Passphrase Dialog for OpenSSH

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 14 16:03:17 CEST 2010 - anicka@suse.cz
- fixed memory leak in sftp (bnc#604274)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 23 12:01:50 CEST 2010 - anicka@suse.cz Fri Apr 23 12:01:50 CEST 2010 - anicka@suse.cz

View File

@ -36,7 +36,7 @@ PreReq: pwdutils %insserv_prereq %fillup_prereq coreutils permissions
Conflicts: nonfreessh Conflicts: nonfreessh
AutoReqProv: on AutoReqProv: on
Version: 5.4p1 Version: 5.4p1
Release: 3 Release: 4
%define xversion 1.2.4.1 %define xversion 1.2.4.1
Summary: Secure Shell Client and Server (Remote Login Program) Summary: Secure Shell Client and Server (Remote Login Program)
Url: http://www.openssh.com/ Url: http://www.openssh.com/
@ -69,6 +69,7 @@ Patch16: %{name}-%{version}-pts.diff
Patch17: %{name}-%{version}-forwards.diff Patch17: %{name}-%{version}-forwards.diff
Patch18: %{name}-%{version}-homechroot.patch Patch18: %{name}-%{version}-homechroot.patch
Patch19: %{name}-%{version}-sshconfig-knownhostschanges.diff Patch19: %{name}-%{version}-sshconfig-knownhostschanges.diff
Patch20: %{name}-%{version}-sftp-leak.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%package askpass %package askpass
@ -114,6 +115,7 @@ Window System passphrase dialog for OpenSSH.
%patch17 %patch17
%patch18 %patch18
%patch19 %patch19
%patch20 -p1
cp -v %{SOURCE4} . cp -v %{SOURCE4} .
cp -v %{SOURCE6} . cp -v %{SOURCE6} .
cd ../x11-ssh-askpass-%{xversion} cd ../x11-ssh-askpass-%{xversion}