From: Dan Rosenberg Date: Wed, 15 Sep 2010 21:44:22 +0000 (-0300) Subject: V4L/DVB: ivtvfb: prevent reading uninitialized stack memory X-Git-Tag: v2.6.27.57~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be609a1fca672655bf831d296685f33ba330e007;p=pandora-kernel.git V4L/DVB: ivtvfb: prevent reading uninitialized stack memory commit 405707985594169cfd0b1d97d29fcb4b4c6f2ac9 upstream. The FBIOGET_VBLANK device ioctl allows unprivileged users to read 16 bytes of uninitialized stack memory, because the "reserved" member of the fb_vblank struct declared on the stack is not altered or zeroed before being copied back to the user. This patch takes care of it. Signed-off-by: Dan Rosenberg Signed-off-by: Andy Walls Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed