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

Commit 00555617 authored by Brian Delwiche's avatar Brian Delwiche
Browse files

Fix more memory-unsafe logging

In various locations around the stack, 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, or store the length before the call if no
local variable is already convenient.

Bug: 375404242
Bug: 375398779
Bug: 375397720
Bug: 375397164
Bug: 375397370
Bug: 375396810
Bug: 375159652
Bug: 375160214
Bug: 375159480
Test: m libbluetooth
Test: researcher POC
Flag: EXEMPT trivial logic fix
Ignore-AOSP-First: security
Tag: #security
Change-Id: Ia50e074de751661a0e617bfffa17871497b8d1ea
parent 6b1506e7
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