Mailing List Archive

[BUG?] openssh-2.1.0p3
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@kw.netlaputa.ne.jp / iwa@mmp.fujitsu.co.jp]
Re: [BUG?] openssh-2.1.0p3 [ In reply to ]
On 30 May 2000, IWAMURO Motonori wrote:

> Is this bug?

Yes it was. You fix is correct and has been applied.

Thanks,
Damien Miller

--
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm@mindrot.org (home) -or- djm@ibs.com.au (work)