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.
parent
296b35fe
Please register or sign in to comment
when it can't lookup the name (at least in some cases) and thus we need to make an extra check to detect failures.