Exploit databaseDownload repository ZIP
GH-51374c4970287cfc6dca6abc44f73866
satheesh575555/system_bt_aosp10-r33_cve-2021-0397
Sources for CVE-2021-0397
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files15
satheesh575555/system_bt_aosp10-r33_cve-2021-0397Revision 0e5f2721b71b
- ↑..Parent directory
- bt_hci_bdroid.h
- bt_vendor_lib.h
- btsnoop.h
- btsnoop_mem.h
- buffer_allocator.h
- hci_hal.h
- hci_inject.h
- hci_internals.h
- hci_layer.h
- hci_packet_factory.h
- hci_packet_parser.h
- low_power_manager.h
- packet_fragmenter.h
- userial.h
- vendor.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
hci/include/hci_internals.h
Text · 1,214 bytes/******************************************************************************
*
* Copyright 2014 Google, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************************/
#pragma once
// 2 bytes for opcode, 1 byte for parameter length (Volume 2, Part E, 5.4.1)
#define HCI_COMMAND_PREAMBLE_SIZE 3
// 2 bytes for handle, 2 bytes for data length (Volume 2, Part E, 5.4.2)
#define HCI_ACL_PREAMBLE_SIZE 4
// 2 bytes for handle, 1 byte for data length (Volume 2, Part E, 5.4.3)
#define HCI_SCO_PREAMBLE_SIZE 3
// 1 byte for event code, 1 byte for parameter length (Volume 2, Part E, 5.4.4)
#define HCI_EVENT_PREAMBLE_SIZE 2