[PATCH] dri2: Fix xserver crash if dri2 buffer allocation fails.
Kristian Høgsberg
krh at bitplanet.net
Fri May 14 07:29:45 PDT 2010
On Fri, May 14, 2010 at 9:25 AM, Pauli Nieminen
<ext-pauli.nieminen at nokia.com> 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>
Looks good,
Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>
More information about the xorg-devel
mailing list