diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-11-14 11:21:10 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-08 07:29:24 -0800 |
| commit | 0056eb8b08101a3f9c21d3069ebc300fe5008813 (patch) | |
| tree | 8e6bbbd0d2bf65d429ed9ada2ba48ce5e35c5e51 /net/unix/af_unix.c | |
| parent | 5e8c945dc7573ba2f28bddf51ca06b152b4bf749 (diff) | |
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
