diff options
| author | 2021-11-16 16:51:38 +0800 | |
|---|---|---|
| committer | 2021-11-16 13:57:25 +0100 | |
| commit | dd2ac1d6d4954522c67279e42e7069b91f67f151 (patch) | |
| tree | 66efd01bd6d601835e68bd720e1a5a0fbd86101d /net/bluetooth/hci_request.c | |
| parent | Bluetooth: aosp: Support AOSP Bluetooth Quality Report (diff) | |
| download | linux-dev-dd2ac1d6d4954522c67279e42e7069b91f67f151.tar.xz linux-dev-dd2ac1d6d4954522c67279e42e7069b91f67f151.zip | |
Bluetooth: hci_h4: Fix padding calculation error within h4_recv_buf()
it is erroneous to calculate padding by subtracting length of type
indication from skb->len, it will cause data analysis error for
alignment which is greater than 1, so fixed by adding length of type
indication with skb->len.
Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_request.c')
0 files changed, 0 insertions, 0 deletions
