diff options
| author | Zijun Hu <quic_zijuhu@quicinc.com> | 2021-11-16 16:51:38 +0800 |
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2021-11-16 13:57:25 +0100 |
| commit | dd2ac1d6d4954522c67279e42e7069b91f67f151 (patch) | |
| tree | 66efd01bd6d601835e68bd720e1a5a0fbd86101d /lib/mpi/mpi-bit.c | |
| parent | 258f56d11bbbf39df5bc5faf0119d28be528f27d (diff) | |
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 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
