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

Re: glibc problem in nis/nss_nisplus/nisplus-ethers.c



On Mon, Jan 29, 2001 at 07:54:09AM +0100, Laurent Constantin wrote:
> Moreover, but I'am not sure, the function 
> "_nss_nisplus_gethostton_r" has 5 parameters, but the function 
> ether_hostton (inet/ether_hton.c, line 76) seems to call it
> with only 4 parameters (as fct) :
> 
>   while (no_more == 0)
>     {
>       char buffer[1024];
>       status = (*fct) (hostname, &etherent, buffer, sizeof buffer);
>       no_more = __nss_next (&nip, "gethostton_r", (void **) &fct,
> status, 0);
>     }

This seems to be fixed in glibc 2.2.1. I'll back port a fix for 2.1.3 in
potato (basically it should pass &errno as the last param).

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: