Debian Bug report logs - #102991
hurd compile problem (sa_restorer) plus X forwarding fix

version graph

Package: ssh; Maintainer for ssh is Debian OpenSSH Maintainers <debian-ssh@lists.debian.org>; Source for ssh is src:openssh (PTS, buildd, popcon).

Reported by: Robert Bihlmeyer <robbe@orcus.priv.at>

Date: Sun, 1 Jul 2001 15:08:00 UTC

Severity: important

Tags: patch

Found in version 1:2.5.2p2-2.2

Fixed in version openssh/1:2.5.2p2-3

Done: Matthew Vernon <matthew@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Philip Hands <phil@hands.com>:
Bug#102991; Package ssh. (full text, mbox, link).


Acknowledgement sent to Robert Bihlmeyer <robbe@orcus.priv.at>:
New Bug report received and forwarded. Copy sent to Philip Hands <phil@hands.com>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Robert Bihlmeyer <robbe@orcus.priv.at>
To: submit@bugs.debian.org
Subject: hurd compile problem (sa_restorer) plus X forwarding fix
Date: 01 Jul 2001 16:26:01 +0200
Package: ssh
Version: 1:2.5.2p2-2.2
Severity: important
Tags: patch

* Current source would not compile on GNU, because sa_restorer is not
present. Nulling that field after the whole structure was nulled is
superflous.

* Enabling X forwarding would break the whole connection due to
"socket(): Protocol family not supported". That's because glibc
reports EPFNOSUPPORT instead of EAFNOSUPPORT. (It does this on linux,
too, but there both constants resolve to the same integer.)


diff -Nur openssh-2.5.2p2-/channels.c openssh-2.5.2p2/channels.c
--- openssh-2.5.2p2-/channels.c	Sat Jun 30 10:07:18 2001
+++ openssh-2.5.2p2/channels.c	Sat Jun 30 23:31:56 2001
@@ -1985,7 +1985,11 @@
 				continue;
 			sock = socket(ai->ai_family, SOCK_STREAM, 0);
 			if (sock < 0) {
-				if ((errno != EINVAL) && (errno != EAFNOSUPPORT)) {
+				if ((errno != EINVAL) && (errno != EAFNOSUPPORT)
+#ifdef EPFNOSUPPORT
+				    && (errno != EPFNOSUPPORT)
+#endif
+				    ) {
 					error("socket: %.100s", strerror(errno));
 					return NULL;
 				} else {
diff -Nur openssh-2.5.2p2-/sshconnect.c openssh-2.5.2p2/sshconnect.c
--- openssh-2.5.2p2-/sshconnect.c	Sat Jun 30 10:07:20 2001
+++ openssh-2.5.2p2/sshconnect.c	Sat Jun 30 13:24:37 2001
@@ -343,7 +343,6 @@
 	 */
 	if(options.bannertimeout > 0){
         	memset(&sa,0,sizeof(sa));
-		sa.sa_restorer=NULL;
 		sa.sa_handler=alarm_catch;
 		/*throw away any pending alarms, since we'd block otherwise*/
 		alarm(0);


-- 
Robbe



Reply sent to Matthew Vernon <matthew@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Robert Bihlmeyer <robbe@orcus.priv.at>:
Bug acknowledged by developer. (full text, mbox, link).


Message #10 received at 102991-close@bugs.debian.org (full text, mbox, reply):

From: Matthew Vernon <matthew@debian.org>
To: 102991-close@bugs.debian.org
Subject: Bug#102991: fixed in openssh 1:2.5.2p2-3
Date: Tue, 03 Jul 2001 20:52:43 +0200
We believe that the bug you reported is fixed in the latest version of
openssh, which has been installed in the Debian FTP archive:

ssh-askpass-gnome_2.5.2p2-3_i386.deb
  to pool/non-US/main/o/openssh/ssh-askpass-gnome_2.5.2p2-3_i386.deb
openssh_2.5.2p2-3.diff.gz
  to pool/non-US/main/o/openssh/openssh_2.5.2p2-3.diff.gz
openssh_2.5.2p2-3.dsc
  to pool/non-US/main/o/openssh/openssh_2.5.2p2-3.dsc
ssh_2.5.2p2-3_i386.deb
  to pool/non-US/main/o/openssh/ssh_2.5.2p2-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 102991@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthew Vernon <matthew@debian.org> (supplier of updated openssh package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----

Format: 1.7
Date: Tue, 03 Jul 2001 02:58:13 +0100
Source: openssh
Binary: ssh ssh-askpass-gnome
Architecture: source i386
Version: 1:2.5.2p2-3
Distribution: unstable
Urgency: low
Maintainer: Matthew Vernon <matthew@debian.org>
Changed-By: Matthew Vernon <matthew@debian.org>
Description: 
 ssh        - Secure rlogin/rsh/rcp replacement (OpenSSH)
 ssh-askpass-gnome - under X, asks user for a passphrase for ssh-add
Closes: 67334 67371 69501 78274 102991
Changes: 
 openssh (1:2.5.2p2-3) unstable; urgency=low
 .
   * Taking Over this package
   * Patches from Robert Bihlmeyer for the Hurd (Closes: #102991)
   * Put PermitRootLogin back to yes (Closes: #67334, #67371, #78274)
   * Don't fiddle with conf-files any more (Closes: #69501)
Files: 
 108d06273e64f91aa1235c127d956337 804 non-US/main optional openssh_2.5.2p2-3.dsc
 fba6df17a22f14daa7d62dd16d5fa44b 27936 non-US/main optional openssh_2.5.2p2-3.diff.gz
 08d08d639f8dec60f2d1ed1297bbbf18 459422 non-US/main optional ssh_2.5.2p2-3_i386.deb
 b0108856bbe2eeea8d6d7275c6a5ac9d 75112 non-US/main optional ssh-askpass-gnome_2.5.2p2-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBO0EsX7DSad4X89TRAQEzxAP/UvH7SGI29gu61e2drdH4jZowwyGrPWYI
K1NtyVHpWO7s3xQPoHbPmb+5jFw7KoETWlQX5qYS8wrAGp4V1znxSxCr+4ZekOu8
NhBVxH5vTxGXs5xvLC2hylds62pCcE1+7wGsPreqAyDuE0mwP20OjoorJLmYYQRg
hf/lGHiwRNM=
=J+OL
-----END PGP SIGNATURE-----




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Mar 25 18:31:51 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.