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>
Tue, 14 Mar 2017 19:37:38 +0000 (12:37 -0700)
commit33c68c82c1a9c2436d203250ab82f5361ff905b7
tree11297c719010aa04b3716c2e3c90db5f6b3fc5c8
parent1f433cb0ffd0b0b44de38180ecf6d4b7f38a8273
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)
stack/l2cap/l2c_main.c