[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian@onerussian.com: /usr/sbin/sshd: wrong DISPLAY is due to hijacking someone other's one...]



On Thu, 2007-03-01 at 17:44 -0500, Yaroslav Halchenko wrote:
<snip>
> |                                 if (ai->ai_next)
> |                                         continue;
<snip>

I believe these two lines are the source of the bug.  Here's the change
that introduced it:
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/channels.c#rev1.183

The commit message cites:
http://mail-index.netbsd.org/current-users/2002/09/16/0005.html
which says that binding to the wildcard IPv6 address fails if no
interfaces have IPv6 addresses assigned.  I think that's a BSD kernel
bug that we don't need to pander to (and has probably been fixed in the
mean time).

Ben.

-- 
Ben Hutchings
Gates has joked that everything goes on and off unexepectedly in the house,
which is run by a high-end PC network built on Windows NT. - Seattle Times

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: