commit | 68997dc82c20258a27ee1a33642e0275abda272a | [log] [tgz] |
---|---|---|
author | Luis Hector Chavez <lhchavez@google.com> | Mon Apr 09 14:45:42 2018 -0700 |
committer | Neil Fuller <nfuller@google.com> | Tue Apr 10 14:55:23 2018 +0000 |
tree | 26d03f289f0a410511e91eb65f29212e4524ae78 | |
parent | 6615f1a549378172c43a67eaa2608ed9c65e7449 [diff] |
Avoid a spurious NullPointerException in java.net.Inet6AddressImpl#icmpEcho This change adds a couple of null-checks that prevent NullPointerExceptions while closing the FileDescriptor in java.net.Inet6AddressImpl#icmpEcho. Bug: 77818332 Bug: 77836332 Test: CtsLibcoreTestCases Change-Id: Id00bfe7da1f7b542acaf5431494176da39817e0f Merged-In: Id00bfe7da1f7b542acaf5431494176da39817e0f (cherry picked from commit 43b6852f2379af08c6bbc59832900d99f4141a40)