OSDN Git Service

Bluetooth: Check H4 HCI packet types
authorMyles Watson <mylesgw@google.com>
Fri, 11 Aug 2017 23:47:28 +0000 (16:47 -0700)
committerMyles Watson <mylesgw@google.com>
Fri, 25 Aug 2017 15:01:56 +0000 (15:01 +0000)
commitd1ccbc1bac7f61093287bc0139785be500a7e6a4
tree1b1911d2b397c7e3be0364e731861d1b96fccdaa
parent426066118ae2298aa1dcbdf5465eaa8c2b1ad3c7
Bluetooth: Check H4 HCI packet types

An invalid type byte can cause an access outside
the bounds of the array.

Bug: 64565737
Test: Bluetooth On/Off
Change-Id: Ie11dd62942f66b9fc60ebce2e4339c37d597fdf0
bluetooth/1.0/default/h4_protocol.cc