diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2020-04-28 07:03:50 +0000 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2020-05-01 06:57:49 +0000 |
commit | a51a28854f1e325fd0b9c187ab42ab05c4b4d060 (patch) | |
tree | c4ace7e3a2f54a5d43cc1cf960201b1285256880 /common/networkstackclient/src | |
parent | b91dc8229ccbb444a0ee77939485556e64873890 (diff) |
Fix potential exceptions in FdEventReader users
In particular,
- Fix a possible NPE In IpNeighborMonitor, if a NUD_FAILED is received
for some neighbor before all other neighbors have received
RTM_NEWNEIGH.
- Add try / catch in IpNeighborMonitor, DhcpPacketListener,
ConnectivityPacketTracker in case some unexpected exception is thrown
while processing packets.
- Add Log.wtf logging in FdEventsReader in case any such exception is
missed.
Bug: 152842850
Test: atest NetworkStackTests
Original-Change: https://android-review.googlesource.com/1274609
Merged-In: Ia03fec358e98b3f218220e70fc3265e14ca15f78
Change-Id: Ia03fec358e98b3f218220e70fc3265e14ca15f78
Diffstat (limited to 'common/networkstackclient/src')
0 files changed, 0 insertions, 0 deletions