diff options
author | Szabolcs Nagy <nsz@port70.net> | 2013-10-23 01:49:14 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2013-10-23 01:49:14 +0000 |
commit | 78f889153167452de4cbced921f6428b3d4f663a (patch) | |
tree | e127773be5bf4dd6208a92fbf6549f305b9a4143 /src/math/llrint.c | |
parent | 51c4e451db10317616e557a7aa7922bababa77d5 (diff) | |
download | musl-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/math/llrint.c')
0 files changed, 0 insertions, 0 deletions