From: Dan Carpenter Date: Mon, 8 Jul 2013 23:01:27 +0000 (-0700) Subject: mwave: fix info leak in mwave_ioctl() X-Git-Tag: v3.11-rc1~67^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=026dadad6b44f0469a475efb4cae48269d8848bd;p=pandora-kernel.git 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 Cc: Greg KH Cc: Jiri Kosina Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed