diff options
author | Dan Rosenberg <drosenberg@vsecurity.com> | 2010-09-15 19:08:24 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-09-26 17:18:36 -0700 |
commit | 63e70525feb93ddfdadd2eb81d0a71a055343d99 (patch) | |
tree | 70102630998034cb560e0053953d37e10f86159a /Documentation/futex-requeue-pi.txt | |
parent | 0d1f22d21f4ca1fe9943667b712beb4d80611236 (diff) |
drivers/video/via/ioctl.c: prevent reading uninitialized stack memory
commit b4aaa78f4c2f9cde2f335b14f4ca30b01f9651ca 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>
Diffstat (limited to 'Documentation/futex-requeue-pi.txt')
0 files changed, 0 insertions, 0 deletions