diff options
| author | 2026-09-13 20:42:58 -0700 | |
|---|---|---|
| committer | 2026-10-14 14:38:13 -0400 | |
| commit | 9822887f0db04ef169a1428892b63139ccf953e8 (patch) | |
| tree | b7643367df90c8f73874c490815dc647be934ebc /scripts/Makefile.thinlto | |
| parent | Bluetooth: SMP: Zeroize raw key data on the stack in smp_e() (diff) | |
Bluetooth: hci_event: Use 254 as max LE Meta subevent payload length in hci_le_ev_table[]
hci_le_meta_evt() validates skb->len against subev->max_len from the entry
in hci_le_ev_table[], By then, the HCI event header and LE Meta subevent
header have already been stripped by skb_pull(), So the max LE Meta
subevent payload is 254, but hci_le_ev_table[] still uses
HCI_MAX_EVENT_SIZE (260) for it, which is imprecise.
Fix by defining HCI_MAX_LE_SUBEVT_PLEN (254) and using it instead.
Signed-off-by: Zijun Hu <zijun.hu@oss.qualcomm.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
