isdnloop: use strlcpy() instead of strcpy()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 Nov 2013 08:21:10 +0000 (11:21 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Nov 2013 21:50:20 +0000 (16:50 -0500)
commitf9a23c84486ed350cce7bb1b2828abd1f6658796
tree3a116595363c0e0bf4b8fb12399255cc780ad4bc
parent9434266f2c645d4fcf62a03a8e36ad8075e37943
isdnloop: use strlcpy() instead of strcpy()

These strings come from a copy_from_user() and there is no way to be
sure they are NUL terminated.

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