Hi Tomasz, On 11/12/2013 02:12 PM, Tomasz Bursztyka wrote:
Hi Daniel,- strncpy(ifr.ifr_name, tunnel, IFNAMSIZ); + strncpy(ifr.ifr_name, tunnel, IFNAMSIZ - 1);Either use IFNAMSIZ or sizeof(ifr.ifr_name) but let's not mix both.
Agreed, there are some more places where we have inconsistent use. I'll update this in v1. cheers, daniel _______________________________________________ connman mailing list [email protected] https://lists.connman.net/mailman/listinfo/connman
