xserver/hw/xfree86/ramdac
Michel Dänzer 1e84fda202 xfree86: Take second reference for SavedCursor in xf86CursorSetCursor
The same pointer is kept in CurrentCursor as well, therefore two
RefCursor calls are needed.

Fixes use-after-free after switching VTs.

Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1067
(cherry picked from commit 919f1f46fc)
2020-09-30 15:06:30 +00: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 tests: Avoid libtool message 2017-01-12 13:25:52 -05: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
meson.build Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
xf86Cursor.h xfree86: Immediately handle failure to set HW cursor, v5 2017-02-08 12:04:42 -05:00
xf86CursorPriv.h xf86Cursor: Add xf86CheckHWCursor() helper function 2016-09-13 10:26:58 +02:00
xf86CursorRD.c xfree86: Take second reference for SavedCursor in xf86CursorSetCursor 2020-09-30 15:06:30 +00:00
xf86HWCurs.c ramdac: Check ScreenPriv != NULL in xf86ScreenSetCursor() 2017-10-25 09:52:44 -04: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