Colin Ian King b024d949a3 irda: do not leak initialized list.dev to userspace
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>
2017-08-18 16:21:51 -07:00
..
2017-04-12 22:02:40 +02:00
2017-08-11 13:57:08 -07:00
2017-08-08 21:03:47 -07:00
2017-07-21 16:26:01 -07:00
2017-08-18 15:59:29 -07:00
2017-06-15 12:12:40 -04:00
2017-06-15 12:12:40 -04:00