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

Commit 7f74d44c authored by Brian Delwiche's avatar Brian Delwiche
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
Change-Id: I76e1ffa1fe463a5858d61d025447d855ff6b5b84
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