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

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

Merge "Fix null pointer dereference in HACK_acl_check_sm4" am: 41c94bb7

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

Change-Id: I0cd67d21c09e85d1104008ae948ab714a9f635c6
parents 1b404c17 41c94bb7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2960,6 +2960,7 @@ void HACK_acl_check_sm4(tBTM_SEC_DEV_REC& record) {
  if (p_acl == nullptr) {
    LOG_WARN("Unable to find active acl for authentication device:%s",
             PRIVATE_ADDRESS(record.RemoteAddress()));
    return;
  }

  // If we have not received the SSP feature record