isdnloop: use strlcpy() instead of strcpy()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 Nov 2013 08:21:10 +0000 (11:21 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 Dec 2013 15:29:41 +0000 (07:29 -0800)
commit0434f1641051d148682321b68ba8108ae9c52c98
tree9b47d5bc7150af5ae6b8a77f789977a298b4f4b5
parente6f3fa48929dbcdcf3dd92507dbe32347645a969
isdnloop: use strlcpy() instead of strcpy()

[ Upstream commit f9a23c84486ed350cce7bb1b2828abd1f6658796 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/isdn/isdnloop/isdnloop.c