[BUG?] openssh-2.1.0p3

IWAMURO Motonori iwa at mmp.fujitsu.co.jp
Tue May 30 20:34:52 EST 2000


Is this bug?

    % runsocks ssh HOST.DOMAIN.COM
    Segmentation fault (core dumped)

My environemnt:
    Solaris2.6 for Sparc
    gcc-2.95.2
    perl.5.005_03
    openssl-0.9.5a
    zlib-1.1.3
    egd-0.7
    socks5-v1.0r10 (`runsocks' is a tool in it.)

--- entropy.c.ORIG	Tue May 30 18:34:31 2000
+++ entropy.c	Tue May 30 18:49:45 2000
@@ -82,8 +82,6 @@
 	c = atomicio(read, egd_socket, buf, len);
 	if (c <= 0)
 		fatal("Couldn't read from EGD socket \"%s\": %s", EGD_SOCKET, strerror(errno));
-	
-	close(EGD_SOCKET);
 }
 #else /* !EGD_SOCKET */
 #ifdef RANDOM_POOL

(When close(EGD_SOCKET) -> close(egd_socket), ssh don't work.)
-- 
IWAMURO, Motonori [E-Mail: vmi at kw.netlaputa.ne.jp / iwa at mmp.fujitsu.co.jp]





More information about the openssh-unix-dev mailing list