Re: [Mesa-dev] [PATCH] svga: Prevent use after free.

2018-01-22 Thread Jose Fonseca
On 22/01/18 15:44, Emil Velikov wrote: On 22 January 2018 at 15:13, Jose Fonseca wrote: Courtesy of clang static analyzer. I was hunting for potential sources of memory corruption using Mesa with a GL trace, and happened to find this (unrelated) issue. --- src/gallium/drivers/svga/svga_conte

Re: [Mesa-dev] [PATCH] svga: Prevent use after free.

2018-01-22 Thread Emil Velikov
On 22 January 2018 at 15:13, Jose Fonseca wrote: > Courtesy of clang static analyzer. > > I was hunting for potential sources of memory corruption using Mesa with > a GL trace, and happened to find this (unrelated) issue. > --- > src/gallium/drivers/svga/svga_context.c | 1 + > 1 file changed, 1

[Mesa-dev] [PATCH] svga: Prevent use after free.

2018-01-22 Thread Jose Fonseca
Courtesy of clang static analyzer. I was hunting for potential sources of memory corruption using Mesa with a GL trace, and happened to find this (unrelated) issue. --- src/gallium/drivers/svga/svga_context.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/svga/svga_contex