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 06:06:17 +0000 (06:06 +0000)
commit75232a5870a64ab47bf08291f36a41f4e21f93e8
tree30bc5120ac3a614e1f54310eeb07ff6f7f1b90cc
parenta33cbdd61006228ea31740b999e6a144136ce58e
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)
(cherry picked from commit a4c029c7887d0df70c0d6a884a861eb63d827603)
stack/l2cap/l2c_main.cc