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

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

Fix incorrect logging in sdp_server

In the function process_service_search_attr_req of sdp_server.cc, a log
statement uses a structure 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: 375407167
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:f23300552c43a4f503debcf0236f29211ee1c557)
Merged-In: I1037e592ab8910eeae5c28a41a53a2fc60a298d8
Change-Id: I1037e592ab8910eeae5c28a41a53a2fc60a298d8
parent 37bcf769
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