1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-21 13:54:31 +00:00
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-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-04 12:30:30 -07:00
2013-07-04 12:30:30 -07:00
2013-07-04 15:51:45 -07:00