Messages in this thread | | | Subject | Re: [PATCH v2] Bluetooth: msft: fix null pointer deref on msft_monitor_device_evt | From | Marcel Holtmann <> | Date | Sun, 23 Jan 2022 15:30:48 +0100 |
| |
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@eknoes.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
| |