commit | a0c5a3944ce121bb2417c771f77b18485cd84e18 | [log] [tgz] |
---|---|---|
author | Vasiliy Kulikov <segooon@gmail.com> | Sat Nov 06 17:41:24 2010 +0300 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Fri Dec 03 16:29:12 2010 +0000 |
tree | 877da9f538e5e53476f22f9d90212116abff8356 | |
parent | ac80dac00f8630803dc0c7f8fbe6983a8e2a8b5f [diff] |
mtd: mtdchar: fix information leak to userland Structure mtd_info_user is copied to userland with padding byted between "type" and "flags" fields uninitialized. It leads to leaking of contents of kernel stack memory. Signed-off-by: Vasiliy Kulikov <segooon@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>