Michal Srb <[email protected]> writes:

> Checking the iterating variable ("slave") against null can not detect if the
> xorg_list_for_each_entry finished without break being invoked - slave variable
> will be always non-null. This caused segfault whenever someone tried to use
> DRI_PRIME with incorrect id while having at least one render offloading slave
> configured.
>
> Restructurize the GetScreenPrime to work as expected.

Merged with review.
   c08d2b8..3dba171  master -> master

-- 
[email protected]

Attachment: pgpWIi727qrRC.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to