commit | 03145beb455cf5c20a761e8451e30b8a74ba58d9 | [log] [tgz] |
---|---|---|
author | Dan Rosenberg <drosenberg@vsecurity.com> | Wed Oct 27 15:34:17 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Oct 27 18:03:13 2010 -0700 |
tree | a27b2221818b89039fc948d19780d52bb5c70789 | |
parent | b795218075a1e1183169abb66a90dcdcf30367f9 [diff] |
ipc: initialize structure memory to zero for compat functions This takes care of leaking uninitialized kernel stack memory to userspace from non-zeroed fields in structs in compat ipc functions. Signed-off-by: Dan Rosenberg <drosenberg@vsecurity.com> Cc: Manfred Spraul <manfred@colorfullife.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>