be2net: replace strcpy with strlcpy
authorVasundhara Volam <vasundhara.volam@emulex.com>
Fri, 12 Sep 2014 12:09:15 +0000 (17:39 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Sep 2014 21:12:15 +0000 (17:12 -0400)
commit242eb47010840056c121c1141bddf3b279cb47bc
tree8d915e0650c659f980cca7720594dd541c5da922
parent50762667f78e346c343544f88270c0a831789e7d
be2net: replace strcpy with strlcpy

Replace strcpy with strlcpy, as it avoids a possible buffer overflow.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c