mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-06 01:57:56 +00:00
fix(nimble): Fixed crash in read multiple variable length response callback
This commit is contained in:
@@ -3410,7 +3410,7 @@ ble_gattc_read_mult_cb_var(struct ble_gattc_proc *proc, int status,
|
||||
return 0;
|
||||
}
|
||||
|
||||
memset(attr, 0, sizeof(*attr));
|
||||
memset(attr, 0, sizeof(attr));
|
||||
|
||||
for (i = 0; i < proc->read_mult.num_handles; i++) {
|
||||
attr[i].handle = proc->read_mult.handles[i];
|
||||
|
||||
Reference in New Issue
Block a user