Dan Rosenberg fd02db9de7 drivers/video/sis/sis_main.c: prevent reading uninitialized stack memory
The FBIOGET_VBLANK device ioctl allows unprivileged users to read 16 bytes
of uninitialized stack memory, because the "reserved" member of the
fb_vblank 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>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-09-22 17:22:39 -07:00
..
2008-07-24 10:47:37 -07:00
2008-07-24 10:47:37 -07:00
2008-07-24 10:47:37 -07:00
2008-07-24 10:47:37 -07:00
2008-07-24 10:47:37 -07:00
2008-07-24 10:47:37 -07:00
2008-07-24 10:47:37 -07:00
2008-07-24 10:47:37 -07:00