Commit 43b6852f authored by Luis Hector Chavez's avatar Luis Hector Chavez
Browse files

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
parent c1ace41c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment