Use os_strlcpy instead of os_strncpy when copying ifname
authorJouni Malinen <j@w1.fi>
Sun, 8 Feb 2009 11:26:33 +0000 (13:26 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 8 Feb 2009 11:26:33 +0000 (13:26 +0200)
commita3bfd14de1b9e7a89c0b610b0368d2dd7568d315
tree3e9e5d073ed0e306cb905caf46ed9f3b339ed40d
parent53c256a4766b9e85317fca763c25a3f11c792679
Use os_strlcpy instead of os_strncpy when copying ifname

In theory, the ifname could be IFNAMSIZ characters long and there would
not be room for null termination.
src/wps/wps_upnp.c