I wasn't checking for overflow. Luckily, I had a test that overflows on LP32. Change-Id: If2cf33d88f459eb26d0ce75f3c5ed192f516ab7a
Rewrite inet_addr and inet_network in terms of inet_aton, and reimplement that to include all the missing error checks. Bug: http://b/24754503 Change-Id: I5dfa971c87201968985a0894df419f0fbf54768a