OSDN Git Service

Ensure proper hci le meta event length size
authorChris Manton <cmanton@google.com>
Tue, 21 Sep 2021 21:55:36 +0000 (14:55 -0700)
committerChris Manton <cmanton@google.com>
Thu, 23 Sep 2021 18:34:39 +0000 (18:34 +0000)
Bug: 167759047
Test: gd/cert/run
Tag: #security
Ignore-AOSP-First: Security
Change-Id: I753b12ec123e28d94c6f362c28ff9f2774ec4445

stack/include/hci_evt_length.h

index 046816b..6219f27 100644 (file)
@@ -80,7 +80,7 @@ static const uint8_t hci_event_parameters_minimum_length[] = {
     10,   //  0x3B - HCI_User_Passkey_Notification Event
     7,    //  0x3C - HCI_Keypress_Notification Event
     14,   //  0x3D - HCI_Remote_Host_Supported_Features_Notification Event
-    0,    //  0x3E - LE Meta event
+    1,    //  0x3E - LE Meta event
     0,    //  0x3F - N/A
     2,    //  0x40 - HCI_Physical_Link_Complete Event
     1,    //  0x41 - HCI_Channel_Selected Event