do not overflow for large prefix len (e.g. 2147483649)
authormarkus <markus@openbsd.org>
Mon, 1 Sep 2008 09:40:43 +0000 (09:40 +0000)
committermarkus <markus@openbsd.org>
Mon, 1 Sep 2008 09:40:43 +0000 (09:40 +0000)
commit7e50d6202c0251cb02b064c83dd941914af92ab0
tree4d6f8ec85c37da832466f3288b4242a5c92f40e8
parent5e966648e988470a6b87eafd7bfe995e18fad396
do not overflow for large prefix len (e.g. 2147483649)
report Maksymilian Arciemowicz; ok djm, deraadt
lib/libc/net/inet_net_pton.c