RE: [PATCH] Bluetooth: Ignore H5 non-link packets in non-active state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry, but I omitted to precise that this patch fixes a NULL pointer dereference.
Indeed, h5->rx_skb was freed in h5_reset_rx and dereferenced in the next 
h5_rx_payload call. So I think it should go to stable tree.

Regards,
Loic
________________________________________
From: linux-bluetooth-owner@xxxxxxxxxxxxxxx [linux-bluetooth-owner@xxxxxxxxxxxxxxx] on behalf of Marcel Holtmann [marcel@xxxxxxxxxxxx]
Sent: Monday, June 23, 2014 3:35 PM
To: Poulain, Loic
Cc: Gustavo F. Padovan; Johan Hedberg; linux-bluetooth@xxxxxxxxxxxxxxx
Subject: Re: [PATCH] Bluetooth: Ignore H5 non-link packets in non-active state

Hi Loic,

> Fix missing return in the non-link packet detection.
>
> Signed-off-by: Loic Poulain <loic.poulain@xxxxxxxxx>
> ---
> drivers/bluetooth/hci_h5.c | 1 +
> 1 file changed, 1 insertion(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]