diff options
| author | 2026-09-13 20:42:59 -0700 | |
|---|---|---|
| committer | 2026-10-14 14:38:14 -0400 | |
| commit | 51589ddae31137711c985f2b02c917c760ab5a81 (patch) | |
| tree | 794fa281077d012603d9894d41c1050a71d02ab4 /scripts/Makefile.thinlto | |
| parent | Bluetooth: hci_event: Use 254 as max LE Meta subevent payload length in hci_le_ev_table[] (diff) | |
Bluetooth: hci_event: Use 252 as max CC event payload length in hci_cc_table[]
hci_cc_func() validates skb->len against cc->max_len from the entry in
hci_cc_table[], But By then, the HCI event and CC headers have already been
stripped by skb_pull(). So the max CC payload is 252, but hci_cc_table[]
still uses HCI_MAX_EVENT_SIZE (260) for it, which is imprecise.
Fix by defining HCI_MAX_CC_PLEN (252) 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
