[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in gethostbyname_r?
From: |
Thorsten Kukuk |
Subject: |
Re: bug in gethostbyname_r? |
Date: |
Sat, 14 Oct 2000 13:47:26 +0200 |
User-agent: |
tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.4.0-test9 (sparc64)) |
> ---1463799226-2105851931-971458819=:14293
> Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
> Content-ID: <address@hidden>
> I suspect a bug in the gethostbyname_r function in glibc. I have
> attached test code that demonstrates that using the normal
> (non-reentrant) gethostbyname all is well, but using
> gethostbyname_r fails.
> I will try to dig into the library code itself as time allow, but
> wanted to bring this issue to light.
> I'm running on a stock SuSE linux 6.2 box with libc.so.6.
> Is it me, or should this code work fine?
It is a very old and fixed glibc bug (for over one year) in the
libnss_dns module. You can find an update for SuSE Linux 6.2 on
ftp://ftp.suse.com/pub/suse/i386/update/6.2/a1 or mirrors.
Thorsten
--
Thorsten Kukuk http://www.suse.de/~kukuk/ address@hidden
SuSE GmbH Schanzaeckerstr. 10 90443 Nuernberg
Linux is like a Vorlon. It is incredibly powerful, gives terse,
cryptic answers and has a lot of things going on in the background.