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

Bug#685328: GLX_INTEL_swap_event crashes driver when swapping window buffers



I only sent it to you. You guys are easier to contact ;)

On Mon, Aug 20, 2012 at 1:07 PM, Julien Cristau <jcristau@debian.org> wrote:
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


Reply to: