Files
linux/drivers/video/via
Dan Rosenberg d912e785e2 drivers/video/via/ioctl.c: prevent reading uninitialized stack memory
commit b4aaa78f4c upstream.

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 <dan.j.rosenberg@gmail.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-09-26 17:21:31 -07:00
..
2009-09-23 07:39:52 -07:00
2009-09-23 07:39:53 -07:00
2009-09-23 07:39:53 -07:00
2009-09-23 07:39:52 -07:00
2009-09-23 07:39:52 -07:00