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

Commit 878658a4 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:...

Fix a security bypass issue in access_secure_service_from_temp_bond am: 62944f39 am: ba9a1524 am: f22cd8d4 am: ebc3bf78

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



Change-Id: I54b701268cf690f85478dcd5d7b68385042a56ed
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents e24a58ec ebc3bf78
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -245,7 +245,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();
}