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

Skip to content
Commit 37bcf769 authored by Brian Delwiche's avatar Brian Delwiche Committed by Android Build Coastguard Worker
Browse files

Fix incorrect logging in sdp_discovery

In two locations in sdp_discovery.cc, log statements use structures that
may, in exceptional cases, have been freed by preceding calls.  This can
lead to use after free and potentially to security vulnerabilities.

Use local variables instead.

Bug: 375408314
Bug: 375409435
Test: m libbluetooth
Test: researcher POC
Flag: EXEMPT trivial logic fix
Ignore-AOSP-First: security
Tag: #security
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bb2f54f9ed938267c2830da4a9d984529274d8a8)
Merged-In: I1c8816721588acba9110257b61b4e993cf2720d6
Change-Id: I1c8816721588acba9110257b61b4e993cf2720d6
parent f904fd5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment