[PATCH] dix: Fix loop termination

Adam Jackson ajax at nwnk.net
Thu Jan 20 15:41:23 PST 2011


On Jan 20, 2011, at 12:01 PM, Pauli wrote:

> From: Pauli Nieminen <ext-pauli.nieminen at nokia.com>
> 
> Handler pointer is set to NULL when it was deleted while inside handler
> calls. Too bad deletion loop tried to find first not NULL pointer which
> incorrectly removed wrong handlers from the list.
> 
> That resulted to NULL pointer call when sending syntetic mouse events
> with delay.
> 
> 8  0x00000000 in ?? ()
> 9  0x00025d7c in WakeupHandler (result=0, pReadmask=0x1c4d48)
>    at ../../dix/dixutils.c:435
> 10 0x0005c9bc in WaitForSomething (pClientsReady=<value optimized out>)
> 
> Fixes: NB# 220574 - xorg crash with xtst

Reviewed-by: Adam Jackson <ajax at redhat.com>

- ajax


More information about the xorg-devel mailing list