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

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

Fix a security bypass issue in access_secure_service_from_temp_bond am: 62944f39

parents caeaa037 62944f39
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -244,7 +244,6 @@ static bool access_secure_service_from_temp_bond(const tBTM_SEC_DEV_REC* p_dev_r
                                                 bool locally_initiated,
                                                 uint16_t security_req) {
  return !locally_initiated && (security_req & BTM_SEC_IN_AUTHENTICATE) &&
    p_dev_rec->is_device_authenticated() &&
         p_dev_rec->is_bond_type_temporary();
}