diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-08-18 01:14:58 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-30 11:16:54 +0300 |
commit | 69e12f86c34a54bffba6480c22326e97c661ff2e (patch) | |
tree | fd7179d7c20fd210a74611040674ed6161832092 /net/sched | |
parent | 8621be05fdb666b39483ad58df383a406c345c1a (diff) | |
download | linux-69e12f86c34a54bffba6480c22326e97c661ff2e.tar.xz |
irda: do not leak initialized list.dev to userspace
[ Upstream commit b024d949a3c24255a7ef1a470420eb478949aa4c ]
list.dev has not been initialized and so the copy_to_user is copying
data from the stack back to user space which is a potential
information leak. Fix this ensuring all of list is initialized to
zero.
Detected by CoverityScan, CID#1357894 ("Uninitialized scalar variable")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sched')
0 files changed, 0 insertions, 0 deletions