OSDN Git Service

Check the HCI length before extracting the L2CAP length and CID
authorPavlin Radoslavov <pavlin@google.com>
Wed, 8 Mar 2017 02:48:21 +0000 (18:48 -0800)
committerPavlin Radoslavov <pavlin@google.com>
Wed, 15 Mar 2017 02:18:48 +0000 (02:18 +0000)
commita4c029c7887d0df70c0d6a884a861eb63d827603
tree30bc5120ac3a614e1f54310eeb07ff6f7f1b90cc
parent6185b22058b0b91af3ddddd91c8ffbcb7d38ed25
Check the HCI length before extracting the L2CAP length and CID

Bug: 34946955
Test: A2DP streaming to a headset
Change-Id: I0b6f50dee05a58db8c043b4d01fb58c9acbeede9
(cherry picked from commit ecc0835114cbae3033d8b0e25bd8b443880d5077)
(cherry picked from commit 33c68c82c1a9c2436d203250ab82f5361ff905b7)
stack/l2cap/l2c_main.cc