Dan Carpenter 026dadad6b mwave: fix info leak in mwave_ioctl()
Smatch complains that on 64 bit systems, there is a hole in the
MW_ABILITIES struct between ->component_count and ->component_list[].
It leaks stack information from the mwave_ioctl() function.

I've added a memset() to initialize the struct to zero.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Greg KH <greg@kroah.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-07-09 10:33:28 -07:00
..
2013-07-04 15:51:45 -07:00
2013-07-02 14:23:01 -07:00
2013-07-04 15:51:45 -07:00
2013-07-03 19:52:22 -07:00
2013-07-04 15:51:45 -07:00
2013-07-04 15:51:45 -07:00
2013-07-02 11:44:19 -07:00
2013-07-03 11:56:38 -07:00
2013-07-04 12:30:30 -07:00
2013-07-04 12:30:30 -07:00
2013-06-28 13:01:40 +02:00
2013-06-14 18:28:02 -07:00
2013-07-04 15:51:45 -07:00
2013-06-11 02:46:21 -07:00