linux/drivers/staging/xgifb
Aaro Koskinen a09f347c6c staging: xgifb: validate the mode against video memory size
It's possible to select video mode that exceeds the available video
memory. This is potentially dangerous, fix by adding a check.

The patch fixes system hangs seen occasionally when playing random videos
with mplayer.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-09-12 09:45:58 -07:00
..
Kconfig
Makefile staging: xgifb: delete vb_ext.{c,h} 2011-11-26 18:03:18 -08:00
TODO staging: xgifb: update TODO 2011-09-16 20:16:48 +02:00
vb_def.h staging: xgifb: delete LCDLenList 2012-09-10 15:48:17 -07:00
vb_init.c staging: xgifb: delete ISXPDOS 2012-09-10 15:48:17 -07:00
vb_init.h staging: xgifb: inline XGIfb_query_VGA_config_space() 2011-10-12 09:51:45 -06:00
vb_setmode.c staging: xgifb: delete redundant casts 2012-09-10 15:48:17 -07:00
vb_setmode.h staging: xgifb: move XGI21_LVDSCapStruct into xgifb_video_info 2011-12-08 12:26:07 -08:00
vb_struct.h staging: xgifb: delete ISXPDOS 2012-09-10 15:48:17 -07:00
vb_table.h staging: xgifb: use correct type for VBVCLKData 2012-09-10 15:48:17 -07:00
vb_util.c Staging: xgifb: Fix sparse warnings. 2012-06-18 17:20:21 -07:00
vb_util.h staging: xgifb: clean up register access types 2011-03-14 11:52:34 -07:00
vgatypes.h Staging: xgifb: Remove unneeded XGI_LCD_TYPE enumeration. 2012-07-11 16:59:27 -07:00
XGI_main_26.c staging: xgifb: validate the mode against video memory size 2012-09-12 09:45:58 -07:00
XGI_main.h Staging: xgifb: Remove unused struct _chswtable. 2012-07-11 16:59:28 -07:00
XGIfb.h Staging: xgifb: Comment cleaning. 2012-07-11 16:59:27 -07:00