xiaoxiang781216 opened a new pull request #1039:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1039


   ## Summary
   Report at 
https://github.com/apache/incubator-nuttx/runs/5396269209?check_suite_focus=true:
   ```
   Error: httpd.c:671:7: error: 'strncpy' output truncated before terminating 
nul copying 12 bytes from a string of the same length 
[-Werror=stringop-truncation]
     671 |       strncpy(pstate->ht_filename, "/" CONFIG_NETUTILS_HTTPD_INDEX,
         |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     672 |               strlen("/" CONFIG_NETUTILS_HTTPD_INDEX));
         |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   ```
   
   ## Impact
   Simple fix
   
   ## Testing
   Pass CI
   


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