Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 300bb4f5 authored by 王飞's avatar 王飞
Browse files

Avoid range check failed in OnScanResult

Since sometime we received null adv data from nearby
devices, then the vector maybe empty. So we should use
member function data of vector to get the start address.
If we use operator [], then maybe receive a range checking
failure message, that will cause crash.

Test: No steps, just code refine
Change-Id: Ic578d41ae80ec6a254a42759341dcd115dfab12b
parent 9dba7619
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment