Bug in authprogs/ident.c

Russ Allbery rra at stanford.edu
Mon Mar 20 01:54:29 UTC 2006


Gea-Suan Lin <gslin at ccca.nctu.edu.tw> writes:

> in authprogs/ident.c, SA_LEN(res->local) == sizeof(struct sockaddr)
> because res->local comes from stdin, not AF_INET. That's the reason of
> the following error msg:

I don't think that's exactly the problem, since the family is set
explicitly.  However, sin_len is used on platforms that have it but is
never initialized.  This is all handled correctly in CURRENT, but I just
committed a patch to STABLE to set sin_len on platforms that have it.  I
think that will solve this problem.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.


More information about the inn-workers mailing list