Bluetooth: HCI: Use skb_pull_data to parse BR/EDR events
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 1 Dec 2021 18:54:53 +0000 (10:54 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 7 Dec 2021 16:05:49 +0000 (17:05 +0100)
commitae61a10d9d46c4a0844c46d0863bf991c4dda66c
tree181e82308749fbc633ae43e8a68e2a4ea6401ed4
parent13244cccc2b61ec715f0ac583d3037497004d4a5
Bluetooth: HCI: Use skb_pull_data to parse BR/EDR events

This uses skb_pull_data to check the BR/EDR events received have the
minimum required length.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci.h
net/bluetooth/hci_event.c