Cris Bailiff found this flaw, gethostbyname_r() on linux returns 0 even
authorDaniel Stenberg <daniel@haxx.se>
Mon, 30 Sep 2002 08:07:16 +0000 (08:07 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 30 Sep 2002 08:07:16 +0000 (08:07 +0000)
commit84fa12c8853a45ee0f043326f0f6689d470fb1bd
treeacb1c6ed815c77d0d3586a5e63f6c7f13d54e8fe
parent296b35fe9b796a50323f19c84ff0075e4702004b
Cris Bailiff found this flaw, gethostbyname_r() on linux returns 0 even
when it can't lookup the name (at least in some cases) and thus we need
to make an extra check to detect failures.
lib/hostip.c