anchao opened a new pull request #5786: URL: https://github.com/apache/incubator-nuttx/pull/5786
## Summary netdb/getaddrinfo: fix the compile warning netdb/lib_getaddrinfo.c: In function ‘alloc_ai’: netdb/lib_getaddrinfo.c:80:9: warning: ‘strncpy’ specified bound 108 equals destination size [-Wstringop-truncation] 80 | strncpy(ai->sa.sun.sun_path, addr, sizeof(ai->sa.sun.sun_path)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: chao.an <anc...@xiaomi.com> ## Impact N/A ## Testing CI-check -- 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