fix(nimble): Fixed crash in read multiple variable length response callback

This commit is contained in:
Sumeet Singh
2024-11-28 12:33:01 +05:30
committed by Rahul Tank
parent 028d21100a
commit d29bed90d6
+1 -1
View File
@@ -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];