piotrnarajowski commented on code in PR #1791:
URL: https://github.com/apache/mynewt-nimble/pull/1791#discussion_r1624468625


##########
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:
   Instructions unclear. Now it's properly fixed



-- 
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: commits-unsubscr...@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to