]> git.baikalelectronics.ru Git - kernel.git/commit
isdn: use strlcpy() instead strcpy()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 16 Dec 2013 13:56:23 +0000 (16:56 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Dec 2013 22:53:59 +0000 (17:53 -0500)
commitfb8f4c1e3fb063e1d66cb3729cd7068860a901cc
treeeea86e7c4229b88cab130dd5657b454bc7715c8b
parent20277b782eee615f1a38afe4f95f088ad0bc4e07
isdn: use strlcpy() instead strcpy()

I don't think the in-kernel drivers ever hit this strcpy() so this
doesn't change how the code works.  But strlcpy() is safer.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/sc/event.c