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

Commit d62bf15d authored by Brian Delwiche's avatar Brian Delwiche
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
Change-Id: I04a295f3c451267aaad0f0d22401b9f5b5510d83
parent 16d054b9
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