mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-23 11:43:24 +00:00
hci: fix buffer overrun in gap_inquiry_explode
This commit is contained in:
parent
22387625cf
commit
e4f5dd75d9
@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|||||||
- att_db_util: added security requirement arguments to characteristic creators
|
- att_db_util: added security requirement arguments to characteristic creators
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- hci: fix buffer overrun in gap_inquiry_explode
|
||||||
|
|
||||||
## Changes March 2018
|
## Changes March 2018
|
||||||
|
|
||||||
|
@ -3780,7 +3780,7 @@ static void hci_notify_if_sco_can_send_now(void){
|
|||||||
|
|
||||||
// parsing end emitting has been merged to reduce code size
|
// parsing end emitting has been merged to reduce code size
|
||||||
static void gap_inquiry_explode(uint8_t * packet){
|
static void gap_inquiry_explode(uint8_t * packet){
|
||||||
uint8_t event[15+GAP_INQUIRY_MAX_NAME_LEN];
|
uint8_t event[19+GAP_INQUIRY_MAX_NAME_LEN];
|
||||||
|
|
||||||
uint8_t * eir_data;
|
uint8_t * eir_data;
|
||||||
ad_context_t context;
|
ad_context_t context;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user