ares_getnameinfo: Validate socket address family and length.
authorYang Tse <yangsita@gmail.com>
Tue, 16 Nov 2010 18:41:03 +0000 (19:41 +0100)
committerYang Tse <yangsita@gmail.com>
Tue, 16 Nov 2010 18:41:03 +0000 (19:41 +0100)
commit85520d66e0ac7ac73411bc25e98769a88b2f85cc
treebfce67c63e3ed46396e212ba10be187b38dcc335
parent690f9a726c20b1d0b4b4132b3d4110658f65e776
ares_getnameinfo: Validate socket address family and length.

Validate socket address family and that the socket address length is appropriate
for the specified family. Failure is reported with ARES_EBADFAMILY in callback.
ares_getnameinfo.c