no1wudi opened a new pull request, #6905: URL: https://github.com/apache/incubator-nuttx/pull/6905
## Summary strlcpy ensure the destination is NUL-terminated, and also fix warning: ```c task/task_prctl.c:138:15: warning: 'strncpy' output may be truncated copying 30 bytes from a string of length 31 [-Wstringop-truncation] 138 | strncpy(name, tcb->name, CONFIG_TASK_NAME_SIZE - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` ## Impact Refactor only ## Testing CI and custom board -- 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...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org