diff options
author | Dan Carpenter <[email protected]> | 2013-07-08 16:01:27 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-07-09 10:33:28 -0700 |
commit | 026dadad6b44f0469a475efb4cae48269d8848bd (patch) | |
tree | 7fbe73e69b0f806b34a7e4ac8fe80c445deb171f /lib/mpi/mpi-bit.c | |
parent | 758a6ba39ef6df4cdc615e5edd7bd86eab81a5f7 (diff) |
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 <[email protected]>
Cc: Greg KH <[email protected]>
Cc: Jiri Kosina <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions