linux/drivers/video/sis
Adrian Bunk a9e60e5c3c video/sis/: fix negative array index
This patch fixes the possible usage of a negative value as an array
index spotted by the Coverity checker.

sisfb_validate_mode() could return a negative error code and we must check for
that prior to using its return value as an array index.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-11-14 18:45:38 -08:00
..
300vtbl.h
310vtbl.h
init.c [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00
init.h [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00
init301.c [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00
init301.h [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00
initdef.h
initextlfb.c [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00
Makefile
oem300.h
oem310.h
osdef.h drivers/video/sis/: remove more kernel 2.4 code 2007-05-08 11:15:33 -07:00
sis.h sisfb: fix pseudo_palette array size and overrun 2007-07-17 10:23:13 -07:00
sis_accel.c [PATCH] drivers/video/sis/sis_accel.c: removal of old code 2006-10-03 08:04:11 -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 video/sis/: fix negative array index 2007-11-14 18:45:38 -08:00
sis_main.h [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00
vgatypes.h [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00
vstruct.h [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00