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

Commit 188230f0 authored by Hui Peng's avatar Hui Peng Committed by Automerger Merge Worker
Browse files

Merge "Fix an OOB bug in btm_ble_process_periodic_adv_sync_lost_evt" into...

Merge "Fix an OOB bug in btm_ble_process_periodic_adv_sync_lost_evt" into tm-dev am: 6494326a am: 0261346d

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/20900569



Change-Id: I19f2f7605f1c717a380cdabc27a9adab51bed3ba
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 399dff4a 0261346d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -418,6 +418,11 @@ void btm_ble_process_periodic_adv_sync_lost_evt(uint8_t data_len,
                                                uint8_t* data) {
  uint16_t sync_handle;

  if (data_len < 2) {
    LOG(ERROR) << "Bogus event packet, too short";
    return;
  }

  STREAM_TO_UINT16(sync_handle, data);

  if (BleScannerHciInterface::Get()) {