[PATCH v2] ramdac: Check sPriv != NULL in xf86CheckHWCursor()

Keith Packard keithp at keithp.com
Fri Oct 28 15:18:08 UTC 2016


Alex Goins <agoins at nvidia.com> writes:

> 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 at nvidia.com>
> Reviewed-by: Andy Ritger <aritger at nvidia.com>

Merged.
   5cb3283..cba5a10  master -> master

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20161028/18a9b9f6/attachment.sig>


More information about the xorg-devel mailing list