about summary refs log tree commit diff
path: root/src/mq
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-10-23 01:49:14 +0000
committerSzabolcs Nagy <nsz@port70.net>2013-10-23 01:49:14 +0000
commit78f889153167452de4cbced921f6428b3d4f663a (patch)
treee127773be5bf4dd6208a92fbf6549f305b9a4143 /src/mq
parent51c4e451db10317616e557a7aa7922bababa77d5 (diff)
downloadmusl-78f889153167452de4cbced921f6428b3d4f663a.tar.gz
musl-78f889153167452de4cbced921f6428b3d4f663a.tar.xz
musl-78f889153167452de4cbced921f6428b3d4f663a.zip
fix inet_pton
* parse IPv4 dotted-decimal correctly (without strtoul, no leading zeros)
* disallow single leading ':' in IPv6 address
* allow at most 4 hex digits in IPv6 address (according to RFC 2373)
* have enough hex fields in IPv4 mapped IPv6 address
* disallow leading zeros in IPv4 mapped IPv6 address
Diffstat (limited to 'src/mq')
0 files changed, 0 insertions, 0 deletions