[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#685328: GLX_INTEL_swap_event crashes driver when swapping window buffers



On Sun, Aug 19, 2012 at 12:30:30 -0700, Daniel Manjarres wrote:

> Package: libgl1-mesa-glx
> Version: 8.0.4-1
> Severity: important
> Tags: patch, upstream
> 
> Dear Maintainer,
> When enabling GLX_INTEL_swap_event for windows:
> in the file src/glx/dri2.c:
> DRI2WireToEvent assumes the event it is generating is asociated with a
> GLXPixmap, and tries to look up the pixmap in the glxDrawHash hash
> table, but as the buffer swap is for a _WINDOW_ not a pixmap the result
> is NULL. DRI2WireToEvent then dereferences the null pointer, and SEGVs.
> 
> The attached patch handles this situation gracefully.
> 
Is this patch applied upstream?  If not was it sent there?  If yes
what's the commit id?

Thanks,
Julien

Attachment: signature.asc
Description: Digital signature


Reply to: