Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0be330c7 authored by Chris Manton's avatar Chris Manton
Browse files

Ensure proper hci le meta event length size

Bug: 167759047
Test: gd/cert/run
Tag: #security
Ignore-AOSP-First: Security
Change-Id: I753b12ec123e28d94c6f362c28ff9f2774ec4445
parent 1892a884
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -80,7 +80,7 @@ static const uint8_t hci_event_parameters_minimum_length[] = {
    10,   //  0x3B - HCI_User_Passkey_Notification Event
    10,   //  0x3B - HCI_User_Passkey_Notification Event
    7,    //  0x3C - HCI_Keypress_Notification Event
    7,    //  0x3C - HCI_Keypress_Notification Event
    14,   //  0x3D - HCI_Remote_Host_Supported_Features_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
    0,    //  0x3F - N/A
    2,    //  0x40 - HCI_Physical_Link_Complete Event
    2,    //  0x40 - HCI_Physical_Link_Complete Event
    1,    //  0x41 - HCI_Channel_Selected Event
    1,    //  0x41 - HCI_Channel_Selected Event