OSDN Git Service

GAP: Correct the continuous pkt length in l2cap
authorVenkata Jagadeesh Garaga <vgaraga@codeaurora.org>
Thu, 18 Apr 2019 11:43:49 +0000 (17:13 +0530)
committerJack He <siyuanh@google.com>
Fri, 15 Nov 2019 22:00:10 +0000 (22:00 +0000)
commit602f4b44fe30ec8b225e1cee5f96817607d93e5a
tree38f3a6650710013dd9fb88c815d136e172a10108
parent981e2483c647fcd01ab3febec042ccf35b22db38
GAP: Correct the continuous pkt length in l2cap

L2cap continuous pkt length wrongly calculated in
reassembly logic when remote sends more data
than expected.

Wrong pkt length leading to memory corruption

Hence the Correct the continuous pkt length in
l2cap reassembly logic.

Bug: 135239489
Bug: 143894715
CRs-Fixed: 2434229
Test: make and internal testing
Change-Id: I758d9e31465b99e436b9b1841320000f08186c97
Merged-In: I758d9e31465b99e436b9b1841320000f08186c97
(cherry picked from commit 337bd4579453bd6bf98ff519de3ac1019cd30d28)
hci/src/packet_fragmenter.cc