diff options
author | Szabolcs Nagy <nsz@port70.net> | 2013-10-22 12:28:17 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2013-10-22 12:28:17 +0000 |
commit | 51c4e451db10317616e557a7aa7922bababa77d5 (patch) | |
tree | 4af96779ba2fe11555849fd60a336141e7c96e35 /src/complex/cargf.c | |
parent | 59b8dc08f712f156dd54e0aba50e4e647524ec8c (diff) | |
download | musl-51c4e451db10317616e557a7aa7922bababa77d5.tar.gz musl-51c4e451db10317616e557a7aa7922bababa77d5.tar.xz musl-51c4e451db10317616e557a7aa7922bababa77d5.zip |
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/complex/cargf.c')
0 files changed, 0 insertions, 0 deletions