diff options
| author | Colin Ian King <colin.king@canonical.com> | 2017-08-17 23:14:58 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-30 10:19:21 +0200 |
| commit | eece6c91dd33da40509e300b4da75f9c1f989269 (patch) | |
| tree | 0b153101f04db3c6814502b3cb92b7c5dcf90a73 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 4e39b7409f3b852ae95e580207b4aec93965834c (diff) | |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
