[PATCH] randr: first check pScrPriv before using the pointer at RRFirstOutput

Keith Packard keithp at keithp.com
Wed Jun 20 22:12:02 PDT 2012


Ricardo Salveti de Araujo <ricardo.salveti at linaro.org> writes:

> Fix a seg fault in case pScrPriv is NULL at ProcRRGetScreenInfo,
> which later calls RRFirstOutput.

Do you have a stack trace for this case? It "shouldn't" ever happen, I
don't think.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120620/15abcd88/attachment.pgp>


More information about the xorg-devel mailing list