pw_bluetooth_sapphire: Fix UAF in A2dpOffloadManager Fix a Use-After-Free (UAF) vulnerability in A2dpOffloadManager where a dangling SniffSuppressCallback was retained after its associated LogicalLink was destroyed. Also addresses a multi-connection bug where A2dpOffloadManager would incorrectly suppress autosniff on the last-created logical link rather than the link that initiated the offload. Fixed: b/510066130 Change-Id: I47eeceb5769bf04c2b1e47e4b39b6407c7d677ec Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/409252
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.