diff options
author | Chiachang Wang <chiachangwang@google.com> | 2019-11-28 13:57:54 +0800 |
---|---|---|
committer | Chiachang Wang <chiachangwang@google.com> | 2019-11-28 13:57:54 +0800 |
commit | 19f87a7f449ceeaa4285ff4a80a4760691c56aa8 (patch) | |
tree | 9e4691eff19e5f12bbfb3cc129a4d7f8b16f39b2 /src/android/net/util/PacketReader.java | |
parent | f6d6cd295cc43b9420f0d06658ae8d8f5469793a (diff) |
Catch possible buffer access exception
Returned message from kernel in cf device may not work
as intended and crash NetworkStack. Since NetworkStack stays
in the system process, the crash will break device and impact
users. Catch the exception to prevent break whole device.
Bug: 145275899
Bug: 142035706
Test: atest NetworkStackTests NetworkStackNextTests
Change-Id: I7b7ecacfc76c54748a4428f04c5422506d85b8d2
Diffstat (limited to 'src/android/net/util/PacketReader.java')
0 files changed, 0 insertions, 0 deletions