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

Commit c44c8991 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix Stack-buffer-over-flow while accessing remote device name" am: f8b63dd2

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1366622

Change-Id: Icf746ca80530aefa745fd187429a2028120b5af3
parents 7c396905 f8b63dd2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3969,7 +3969,7 @@ static void btm_sec_pairing_timeout(UNUSED_ATTR void* data) {
  tBTM_AUTH_REQ auth_req = (btm_cb.devcb.loc_io_caps == BTM_IO_CAP_NONE)
                               ? BTM_AUTH_AP_NO
                               : BTM_AUTH_AP_YES;
  uint8_t name[2];
  BD_NAME name;

  p_dev_rec = btm_find_dev(p_cb->pairing_bda);