piotrnarajowski commented on code in PR #1791:
URL: https://github.com/apache/mynewt-nimble/pull/1791#discussion_r1624403165
##########
nimble/host/src/ble_gattc.c:
##########
@@ -3345,7 +3345,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) * proc->read_mult.num_handles);
Review Comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]