[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <F86FD5AB-6432-4712-AB52-3151F798599E@holtmann.org>
Date: Wed, 6 Jan 2021 08:50:19 +0100
From: Marcel Holtmann <marcel@...tmann.org>
To: Dinghao Liu <dinghao.liu@....edu.cn>
Cc: kjlu@....edu, Johan Hedberg <johan.hedberg@...il.com>,
Luiz Augusto von Dentz <luiz.dentz@...il.com>,
Venkata Lakshmi Narayana Gubba <gubbaven@...eaurora.org>,
Balakrishna Godavarthi <bgodavar@...eaurora.org>,
linux-bluetooth@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Bluetooth: hci_qca: Fix memleak in qca_controller_memdump
Hi Dinghao,
> When __le32_to_cpu() fails, qca_memdump should be freed
> just like when vmalloc() fails.
>
> Fixes: d841502c79e3f ("Bluetooth: hci_qca: Collect controller memory dump during SSR")
> Signed-off-by: Dinghao Liu <dinghao.liu@....edu.cn>
> ---
> drivers/bluetooth/hci_qca.c | 2 ++
> 1 file changed, 2 insertions(+)
patch has been to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists