summaryrefslogtreecommitdiff
path: root/src/network/inet_pton.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-10-22 12:28:17 +0000
committerSzabolcs Nagy <nsz@port70.net>2013-10-22 12:28:17 +0000
commit51c4e451db10317616e557a7aa7922bababa77d5 (patch)
tree4af96779ba2fe11555849fd60a336141e7c96e35 /src/network/inet_pton.c
parent59b8dc08f712f156dd54e0aba50e4e647524ec8c (diff)
downloadmusl-51c4e451db10317616e557a7aa7922bababa77d5.tar.gz
fix __ipparse to parse the generic numbers-and-dots IPv4 format correctly
* allow at most 4 parts * bounds check the parts correctly * disallow leading whitespace and sign * check the address family before falling back to IPv6
Diffstat (limited to 'src/network/inet_pton.c')
0 files changed, 0 insertions, 0 deletions