ares_inet_net_pton: fix non-rejection of some malformed literals
authorYang Tse <yangsita@gmail.com>
Wed, 15 Dec 2010 01:44:07 +0000 (02:44 +0100)
committerYang Tse <yangsita@gmail.com>
Wed, 15 Dec 2010 01:44:07 +0000 (02:44 +0100)
commite03a65c3d9b2eb47f6ce6234823913638cb6c816
tree2bb5d0c138f009bc6cab5b8cf5f733dd6ba50580
parent2c26d7d2548951f342ebdd8830f72d953fb463ae
ares_inet_net_pton: fix non-rejection of some malformed literals

ares_inet_net_pton would return wrong values when excessively large,
and invalid, netmasks are used. Fixes are from bind-9.5.3rc1,
issue also described in the WLB-2008080064 advisory.
CHANGES
RELEASE-NOTES
inet_net_pton.c