Subject: Re: ypbind bug ?
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Mahmoud Chilali <mahmoud@chilali.net>
List: tech-userlevel
Date: 10/26/2003 17:51:58
Manuel Bouyer wrote:
> Hi,
> while looking at the ypbind source code, I found that ypbind uses a struct
> member which is never initialised.
> This is dom_server_port from struct _dom_binding. The server port is available
> in the dom_server_addr sockaddr_in. dom_server_port is used once in
> ypbindproc_domain_2(); the debug printf below its uses dom_server_addr.sin_port.
> 
> Did I miss sometheing ?
 > ...

I don't see where it is set either. The only time it gets set to 
something is in makebinding() which sets the whole struct to zero.
So your patch seems right to me...