commit | 43b6852f2379af08c6bbc59832900d99f4141a40 | [log] [tgz] |
---|---|---|
author | Luis Hector Chavez <lhchavez@google.com> | Mon Apr 09 14:45:42 2018 -0700 |
committer | Luis Hector Chavez <lhchavez@google.com> | Tue Apr 10 06:17:28 2018 -0700 |
tree | efdb95e56e9bc624a435d6457a38441ba3fe7a9e | |
parent | c1ace41c5ad7cda71889eb258155d9a0eed7c340 [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 Test: CtsLibcoreTestCases Change-Id: Id00bfe7da1f7b542acaf5431494176da39817e0f