diff options
author | Etan Cohen <etancohen@google.com> | 2018-07-20 16:53:00 -0700 |
---|---|---|
committer | Etan Cohen <etancohen@google.com> | 2018-09-26 17:49:39 +0000 |
commit | 1cb8cdaf63f970533ef80b48ff713ed7c5b120f0 (patch) | |
tree | 7af64c3ff23239d9bf861899f37f150fc163afd9 /PREUPLOAD.cfg | |
parent | c442cac03988b303a1151a774cc291a89ed1dad1 (diff) |
[RTT] Add NPE checks for invalid MAC addresses from Aware
RTT requests for Aware peers may use PeerHandles. The RTT service
queries the Aware service for their corresponding MAC addresses. In
some corner cases, e.g. the Aware peer just disappeared, a null MAC
address may be returned.
This was not handled, resulting in an NPE.
Bug: 111646773
Test: new unit test added, passes
Change-Id: I7d7c37322848fe7e7dd4f9f412f1e1339321e9a8
Diffstat (limited to 'PREUPLOAD.cfg')
0 files changed, 0 insertions, 0 deletions