diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-07-09 01:01:27 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-09 19:33:28 +0200 |
commit | 026dadad6b44f0469a475efb4cae48269d8848bd (patch) | |
tree | 7fbe73e69b0f806b34a7e4ac8fe80c445deb171f /MAINTAINERS | |
parent | ipc/sem.c: rename try_atomic_semop() to perform_atomic_semop(), docu update (diff) | |
download | linux-026dadad6b44f0469a475efb4cae48269d8848bd.tar.xz linux-026dadad6b44f0469a475efb4cae48269d8848bd.zip |
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>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions