be2net: replace strcpy with strlcpy
authorVasundhara Volam <[email protected]>
Fri, 12 Sep 2014 12:09:15 +0000 (17:39 +0530)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/emulex/benet/be_cmds.c