[PATCH] dri2: Fix xserver crash if dri2 buffer allocation fails.

Michel Dänzer michel at daenzer.net
Fri May 14 06:45:50 PDT 2010


On Fre, 2010-05-14 at 16:25 +0300, Pauli Nieminen wrote: 
> If driver fails to allocate memory for dri2 buffer server would crash
> in send_buffers_reply.
> 
> Solution is to handle the allocation failure and return BadAlloc to
> client.
> 
> Signed-off-by: Pauli Nieminen <ext-pauli.nieminen at nokia.com>

Reviewed-by: Michel Dänzer <michel at daenzer.net>


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the xorg-devel mailing list