xserver-multidpi/hw/xfree86/ramdac
Alex Goins cba5a10fd9 ramdac: Check sPriv != NULL in xf86CheckHWCursor()
xf86CheckHWCursor() would dereference sPriv without NULL checking it. If Option
"SWCursor" is specified, sPriv == NULL. In this case we should assume that HW
cursors are not supported.

Signed-off-by: Alex Goins <agoins@nvidia.com>
Reviewed-by: Andy Ritger <aritger@nvidia.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2016-10-28 08:17:21 -07:00
..
BT.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
BT.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
BTPriv.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
CURSOR.NOTES Merging XORG-CURRENT into trunk 2004-04-23 19:54:30 +00:00
IBM.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
IBM.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
IBMPriv.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Makefile.am Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
TI.c debug output format fix in TI.c 2015-08-28 12:06:39 +01:00
TI.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
TIPriv.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86Cursor.c xf86Cursor: Add hw cursor support for prime 2016-09-13 10:27:19 +02:00
xf86Cursor.h xfree86: Set xf86CrtcConfigRec cursor pointer to NULL in HideCursor 2016-05-26 09:13:20 -07:00
xf86CursorPriv.h xf86Cursor: Add xf86CheckHWCursor() helper function 2016-09-13 10:26:58 +02:00
xf86HWCurs.c ramdac: Check sPriv != NULL in xf86CheckHWCursor() 2016-10-28 08:17:21 -07:00
xf86RamDac.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86RamDac.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xf86RamDacCmap.c xfree86: Remove #include "compiler.h" from places that don't need it 2014-07-28 12:18:03 -07:00
xf86RamDacPriv.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00