From: Dan Rosenberg Date: Wed, 15 Sep 2010 23:08:24 +0000 (-0400) Subject: drivers/video/via/ioctl.c: prevent reading uninitialized stack memory X-Git-Tag: v2.6.36-rc5~24^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4aaa78f4c2f9cde2f335b14f4ca30b01f9651ca;p=pandora-kernel.git drivers/video/via/ioctl.c: prevent reading uninitialized stack memory The VIAFB_GET_INFO device ioctl allows unprivileged users to read 246 bytes of uninitialized stack memory, because the "reserved" member of the viafb_ioctl_info 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: Florian Tobias Schandinat --- Reading git-diff-tree failed