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

Commit f8b63dd2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents b839f97b 286fa983
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);