[PATCH xserver] modesetting: Do not close uninitialized dri2 screen

Adam Jackson ajax at nwnk.net
Mon Feb 26 21:42:30 UTC 2018


On Thu, 2018-02-15 at 06:46 -0600, Jeff Smith wrote:
> If a dri2 screen is not successfully initialized, attempting to close it
> results in a null dereference.
> 
> Maintain a flag indicating whether the dri2 screen was successfully
> initialized, and check it before attempting to close the dri2 screen.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1485811
> https://bugzilla.redhat.com/show_bug.cgi?id=1493805
> https://bugzilla.redhat.com/show_bug.cgi?id=1534459
> https://bugzilla.redhat.com/show_bug.cgi?id=1541745
> https://bugs.freedesktop.org/show_bug.cgi?id=101282
> 
> Signed-off-by: Jeff Smith <whydoubt at gmail.com>

remote: I: patch #204928 updated using rev 92272378064a878ce7a62852b877d674bcad89cd.
remote: I: 1 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/xserver
   aa2929841..922723780  master -> master

- ajax


More information about the xorg-devel mailing list