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: #1067 (closed)
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
The same pointer is kept in CurrentCursor
as well, therefore two
RefCursor calls are needed.
Fixes use-after-free after switching VTs.
Closes: #1067 (closed)