linux/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 [PATCH] sisfb update 2005-09-09 13:58:01 -07:00
310vtbl.h [PATCH] sisfb update 2005-09-09 13:58:01 -07:00
Makefile [PATCH] sisfb update 2005-09-09 13:58:01 -07:00
init.c [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00
init.h video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
init301.c [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00
init301.h video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
initdef.h [PATCH] sisfb update 2005-09-09 13:58:01 -07:00
initextlfb.c video/sis/: remove compat code 2008-07-24 10:47:37 -07:00
oem300.h [PATCH] sisfb update 2005-09-09 13:58:01 -07:00
oem310.h [PATCH] sisfb update 2005-09-09 13:58:01 -07:00
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 [PATCH] drivers/video/sis/sis_accel.h: removal of old code 2006-10-03 08:04:11 -07:00
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