linux_old1/drivers/video/sis
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
..
300vtbl.h
310vtbl.h
Makefile
init.c
init.h video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
init301.c
init301.h video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
initdef.h
initextlfb.c video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
oem300.h
oem310.h
osdef.h video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
sis.h video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
sis_accel.c video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
sis_accel.h
sis_main.c drivers/video/sis/sis_main.c: prevent reading uninitialized stack memory 2010-09-22 17:22:39 -07:00
sis_main.h video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
vgatypes.h video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
vstruct.h sisfb: change SiS_DDC_Port type to SISIOADDRESS 2009-09-23 07:39:57 -07:00