mbox series

[BlueZ,0/1] Fix crash in bluetoothctl exit

Message ID 20240305141521.132865-1-andrei.istodorescu@nxp.com
Headers show
Series Fix crash in bluetoothctl exit | expand

Message

Andrei Istodorescu March 5, 2024, 2:15 p.m. UTC
This patch sets the data.inputs and ata.queue to NULL after being freed.
This is needed so that further use of these queues won't access already 
freed memory.

Andrei Istodorescu (1):
  shared/shell: Fix heap use after free on exit

 src/shared/shell.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

patchwork-bot+bluetooth@kernel.org March 5, 2024, 10:50 p.m. UTC | #1
Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Tue,  5 Mar 2024 16:15:20 +0200 you wrote:
> This patch sets the data.inputs and ata.queue to NULL after being freed.
> This is needed so that further use of these queues won't access already
> freed memory.
> 
> Andrei Istodorescu (1):
>   shared/shell: Fix heap use after free on exit
> 
> [...]

Here is the summary with links:
  - [BlueZ,1/1] shared/shell: Fix heap use after free on exit
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=0bf9e6453ed5

You are awesome, thank you!