linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/1] Fix crash in bluetoothctl exit
@ 2024-03-05 14:15 Andrei Istodorescu
  2024-03-05 14:15 ` [PATCH BlueZ 1/1] shared/shell: Fix heap use after free on exit Andrei Istodorescu
  2024-03-05 22:50 ` [PATCH BlueZ 0/1] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 4+ messages in thread
From: Andrei Istodorescu @ 2024-03-05 14:15 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: luiz.dentz, mihai-octavian.urzica, silviu.barbulescu,
	vlad.pruteanu, iulia.tanasescu, Andrei Istodorescu

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(-)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-05 22:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-05 14:15 [PATCH BlueZ 0/1] Fix crash in bluetoothctl exit Andrei Istodorescu
2024-03-05 14:15 ` [PATCH BlueZ 1/1] shared/shell: Fix heap use after free on exit Andrei Istodorescu
2024-03-05 15:31   ` Fix crash in bluetoothctl exit bluez.test.bot
2024-03-05 22:50 ` [PATCH BlueZ 0/1] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).