From: Vasiliy Kulikov Date: Wed, 27 Oct 2010 22:34:21 +0000 (-0700) Subject: drivers/char/ppdev.c: fix information leak to userland X-Git-Tag: v2.6.37-rc1~85^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9b1134260e036fb75c468514569864dd6722f3e;p=pandora-kernel.git drivers/char/ppdev.c: fix information leak to userland Structure par_timeout is copied to userland with some padding fields unitialized. Field tv_usec has type __kernel_suseconds_t, it differs from tv_sec's type on some architectures. It leads to leaking of stack memory. Signed-off-by: Vasiliy Kulikov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed