commit | b4aaa78f4c2f9cde2f335b14f4ca30b01f9651ca | [log] [tgz] |
---|---|---|
author | Dan Rosenberg <drosenberg@vsecurity.com> | Wed Sep 15 19:08:24 2010 -0400 |
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | Wed Sep 15 23:43:53 2010 +0000 |
tree | db374bec1bf1ee1530b31d40ee4d6ff59819ca89 | |
parent | f27098379b1dbfedae99e5b86e10529f799d4071 [diff] |
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>