Dan Rosenberg b4aaa78f4c 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 <dan.j.rosenberg@gmail.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
2010-09-15 23:43:53 +00:00
..
2010-07-23 14:35:50 +00:00
2010-03-12 15:52:33 -08:00
2010-07-23 14:37:05 +00:00
2010-07-23 14:37:05 +00:00
2010-07-23 14:35:50 +00:00
2010-07-23 14:35:50 +00:00
2010-07-23 14:37:05 +00:00
2010-03-12 15:52:33 -08:00
2010-03-12 15:52:33 -08:00