OSDN Git Service

Fix inet_aton on LP32.
authorElliott Hughes <enh@google.com>
Sat, 10 Oct 2015 00:27:41 +0000 (17:27 -0700)
committerElliott Hughes <enh@google.com>
Sat, 10 Oct 2015 00:36:05 +0000 (17:36 -0700)
commit7b77cb35aff34ff56a0b63517267c6203f9d1119
treed81082b185a13a6b9c71be9379cd131ed7082f56
parent487a1823e8617011009eded8eae9a75c1f871887
Fix inet_aton on LP32.

I wasn't checking for overflow. Luckily, I had a test that overflows on LP32.

Change-Id: If2cf33d88f459eb26d0ce75f3c5ed192f516ab7a
libc/bionic/arpa_inet.cpp
tests/arpa_inet_test.cpp