From: Vasiliy Kulikov Date: Sat, 6 Nov 2010 14:41:24 +0000 (+0300) Subject: mtd: mtdchar: fix information leak to userland X-Git-Tag: v2.6.38-rc1~21^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0c5a3944ce121bb2417c771f77b18485cd84e18;p=pandora-kernel.git 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 Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed