diff options
| author | Zijun Hu <[email protected]> | 2021-11-16 08:51:38 +0000 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2021-11-16 12:57:25 +0000 |
| commit | dd2ac1d6d4954522c67279e42e7069b91f67f151 (patch) | |
| tree | 66efd01bd6d601835e68bd720e1a5a0fbd86101d /net/bluetooth/hci_request.c | |
| parent | Bluetooth: aosp: Support AOSP Bluetooth Quality Report (diff) | |
| download | kernel-dd2ac1d6d4954522c67279e42e7069b91f67f151.tar.gz kernel-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 <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'net/bluetooth/hci_request.c')
0 files changed, 0 insertions, 0 deletions
