pkarashchenko commented on code in PR #9564:
URL: https://github.com/apache/nuttx/pull/9564#discussion_r1233490546


##########
mm/mm_heap/mm_memdump.c:
##########
@@ -70,14 +70,15 @@ static void memdump_handler(FAR struct mm_allocnode_s 
*node, FAR void *arg)
                  nodesize, MM_PTR_FMT_WIDTH,
                  ((FAR char *)node + SIZEOF_MM_ALLOCNODE));
 #else
+          char buf[CONFIG_MM_BACKTRACE * MM_PTR_FMT_WIDTH + 1] =
+          {
+            '\0'
+          };

Review Comment:
   ```suggestion
             char buf[CONFIG_MM_BACKTRACE * MM_PTR_FMT_WIDTH + 1] = "";
   ```
   



-- 
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]

Reply via email to