[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <6455AE62-B472-41E2-8B32-FFF350EF3250@holtmann.org>
Date: Sun, 23 Jan 2022 15:30:48 +0100
From: Marcel Holtmann <marcel@...tmann.org>
To: Soenke Huster <soenke.huster@...oes.de>
Cc: Johan Hedberg <johan.hedberg@...il.com>,
Luiz Augusto von Dentz <luiz.dentz@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
BlueZ <linux-bluetooth@...r.kernel.org>,
"open list:NETWORKING [GENERAL]" <netdev@...r.kernel.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] Bluetooth: msft: fix null pointer deref on
msft_monitor_device_evt
Hi Soenke,
> msft_find_handle_data returns NULL if it can't find the handle.
> Therefore, handle_data must be checked, otherwise a null pointer
> is dereferenced.
>
> Signed-off-by: Soenke Huster <soenke.huster@...oes.de>
> ---
> v2: Remove empty line
>
> net/bluetooth/msft.c | 2 ++
> 1 file changed, 2 insertions(+)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists