[PATCH] glx: Refcnt the GLXDrawable to avoid use after free with multiple FreeResource

2010-12-10 Thread Michel Dänzer
On Fre, 2010-12-10 at 13:38 +, Chris Wilson wrote: > Although there may be more than one resource handles pointing to the > Drawable, we only want to destroy it once and only reference the > resource which may have just been deleted on the first instance. > > v2: Apply fixes and combine with

[PATCH] glx: Refcnt the GLXDrawable to avoid use after free with multiple FreeResource

2010-12-10 Thread Michel Dänzer
On Fre, 2010-12-10 at 12:43 +, Chris Wilson wrote: > Although there may be more than one resource handles pointing to the > Drawable, we only want to destroy it once and only reference the > resource which may have just been deleted on the first instance. > > Signed-off-by: Chris Wilson >

[PATCH] glx: Refcnt the GLXDrawable to avoid use after free with multiple FreeResource

2010-12-10 Thread Chris Wilson
Although there may be more than one resource handles pointing to the Drawable, we only want to destroy it once and only reference the resource which may have just been deleted on the first instance. v2: Apply fixes and combine with another bug fix from Michel D?nzer,

[PATCH] glx: Refcnt the GLXDrawable to avoid use after free with multiple FreeResource

2010-12-10 Thread Chris Wilson
Although there may be more than one resource handles pointing to the Drawable, we only want to destroy it once and only reference the resource which may have just been deleted on the first instance. Signed-off-by: Chris Wilson Cc: Kristian H?gsberg Cc: Michel D?nzer --- glx/glxcmds.c |

[PATCH] glx: Refcnt the GLXDrawable to avoid use after free with multiple FreeResource

2010-12-10 Thread Chris Wilson
Although there may be more than one resource handles pointing to the Drawable, we only want to destroy it once and only reference the resource which may have just been deleted on the first instance. v2: Apply fixes and combine with another bug fix from Michel Dänzer,

Re: [PATCH] glx: Refcnt the GLXDrawable to avoid use after free with multiple FreeResource

2010-12-10 Thread Michel Dänzer
On Fre, 2010-12-10 at 13:38 +, Chris Wilson wrote: Although there may be more than one resource handles pointing to the Drawable, we only want to destroy it once and only reference the resource which may have just been deleted on the first instance. v2: Apply fixes and combine with