response buffer corruption in __dns_gethostbyx_r

Gernot Tenchio <[email protected]>
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
Hi,

While resolving a hostname to many ip addresses the response buffer
gets corrupted in __dns_gethostbyx_r. (Example: www.megaupload.com -> 23
ip addresses).

The following patch will fix this issue by returning only 7 ip
addresses to the caller. This is not the nicest, but the least intrusive
solution so far.

http://jusa.telco-tech.de/patches/dietlibc-gethostbyx.patch

Gernot
-- 
Verbringe deine Zeit nicht mit der Suche nach einem Hindernis,
vielleicht ist keins da. (Franz Kafka)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.