anchao opened a new pull request, #1548:
URL: https://github.com/apache/nuttx-apps/pull/1548

   
   ## Summary
   
   net: fix compiler warning
   
   ```bash
   sixlowpan_assocresp.c: In function ‘sixlowpan_assoc_resp’: 
sixlowpan_assocresp.c:48:3: warning: ‘strncpy’ specified bound 16 equals 
destination size [-Wstringop-truncation]
      48 |   strncpy(arg.ifr_name, ifname, IFNAMSIZ);
         |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   ```
   
   Signed-off-by: chao an <[email protected]>
   
   ## Impact
   
   N/A
   
   ## Testing
   
   sim/dynconns


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to