OBS User unknown 2008-12-03 15:31:18 +00:00 committed by Git OBS Bridge
parent 05815be1c0
commit 95f0239801
4 changed files with 23 additions and 2 deletions

View File

@ -0,0 +1,12 @@
--- channels.c
+++ channels.c
@@ -2418,6 +2418,9 @@
const char *host, *addr;
char ntop[NI_MAXHOST], strport[NI_MAXSERV];
+ if (num_adm_permitted_opens >= SSH_MAX_FORWARDS_PER_DIRECTION)
+ fatal("channel_setup_fwd_listener: too many forwards");
+
host = (type == SSH_CHANNEL_RPORT_LISTENER) ?
listen_addr : host_to_connect;
is_client = (type == SSH_CHANNEL_PORT_LISTENER);

View File

@ -23,7 +23,7 @@ BuildRequires: gtk2-devel krb5-devel opensc-devel openssh openssl-devel pam-dev
License: BSD 3-Clause License: BSD 3-Clause
Group: Productivity/Networking/SSH Group: Productivity/Networking/SSH
Version: 5.1p1 Version: 5.1p1
Release: 40 Release: 41
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 @@
-------------------------------------------------------------------
Mon Dec 1 15:43:14 CET 2008 - anicka@suse.cz
- respect SSH_MAX_FORWARDS_PER_DIRECTION (bnc#448775)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 10 16:01:27 CET 2008 - anicka@suse.cz Mon Nov 10 16:01:27 CET 2008 - anicka@suse.cz

View File

@ -38,7 +38,7 @@ PreReq: /usr/sbin/groupadd /usr/sbin/useradd %insserv_prereq %fillup_pr
Conflicts: nonfreessh Conflicts: nonfreessh
AutoReqProv: on AutoReqProv: on
Version: 5.1p1 Version: 5.1p1
Release: 40 Release: 41
%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/
@ -71,6 +71,7 @@ Patch44: %{name}-%{version}-audit.patch
Patch45: %{name}-%{version}-pts.diff Patch45: %{name}-%{version}-pts.diff
Patch46: %{name}-%{version}-pam-fix4.diff Patch46: %{name}-%{version}-pam-fix4.diff
Patch47: %{name}-%{version}-strnvis.diff Patch47: %{name}-%{version}-strnvis.diff
Patch48: %{name}-%{version}-forwards.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%package askpass %package askpass
@ -162,6 +163,7 @@ Authors:
%patch45 %patch45
%patch46 -p1 %patch46 -p1
%patch47 %patch47
%patch48
cp -v %{SOURCE4} . cp -v %{SOURCE4} .
cp -v %{SOURCE6} . cp -v %{SOURCE6} .
cd ../x11-ssh-askpass-%{xversion} cd ../x11-ssh-askpass-%{xversion}
@ -305,6 +307,8 @@ rm -rf $RPM_BUILD_ROOT
%config %_appdefdir/SshAskpass %config %_appdefdir/SshAskpass
%changelog %changelog
* Mon Dec 01 2008 anicka@suse.cz
- respect SSH_MAX_FORWARDS_PER_DIRECTION (bnc#448775)
* Mon Nov 10 2008 anicka@suse.cz * Mon Nov 10 2008 anicka@suse.cz
- fix printing banner (bnc#443380) - fix printing banner (bnc#443380)
* Fri Oct 24 2008 anicka@suse.cz * Fri Oct 24 2008 anicka@suse.cz