You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/08/14 08:45:11 UTC

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 opened a new pull request, #1261: dhcpd: fix build warning

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

   ## Summary
   
   CC:  dhcpd.c
   In function 'dhcpd_openlistener',
       inlined from 'dhcpd_run.part.0' at dhcpd.c:1513:20:
   dhcpd.c:1425:3: error: 'strncpy' specified bound 16 equals destination size [-Werror=stringop-truncation]
    1425 |   strncpy(req.ifr_name, interface, IFNAMSIZ);
         |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors
   
   Signed-off-by: liuhaitao <li...@xiaomi.com>
   Change-Id: I8f9dd8bfb7cc9d270f02ab11b4953aa2dec7cc8b
   
   ## Impact
   
   Minor change
   
   ## Testing
   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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-nuttx-apps] pkarashchenko merged pull request #1261: dhcpd: fix build warning

Posted by GitBox <gi...@apache.org>.
pkarashchenko merged PR #1261:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1261


-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org