DS-LK opened a new pull request #5108:
URL: https://github.com/apache/incubator-nuttx/pull/5108


   Signed-off-by: zhouliang3 <zhoulia...@xiaomi.com>
   Change-Id: I1fdc3c6752613226900460ccafb0a2271ae0d954
   
   ## Summary
   strncpy does not end with'\0', stack overflow may occur during use.
   ## Impact
   After strncpy is modified to strlcpy,'\0' will be automatically added at the 
end to avoid usage problems.
   ## Testing
   This modification does not affect the function.
   


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


Reply via email to