aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorDan Rosenberg <[email protected]>2010-09-15 23:08:24 +0000
committerFlorian Tobias Schandinat <[email protected]>2010-09-15 23:43:53 +0000
commitb4aaa78f4c2f9cde2f335b14f4ca30b01f9651ca (patch)
treedb374bec1bf1ee1530b31d40ee4d6ff59819ca89 /lib/dynamic_debug.c
parentdrivers/video/via/via-gpio.c: fix warning (diff)
downloadkernel-b4aaa78f4c2f9cde2f335b14f4ca30b01f9651ca.tar.gz
kernel-b4aaa78f4c2f9cde2f335b14f4ca30b01f9651ca.zip
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 <[email protected]> Signed-off-by: Florian Tobias Schandinat <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions