Re: [Mesa-dev] [PATCH] glx: Fix use-before-null-check in dri2InvalidateBuffers().

2011-06-02 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/01/2011 01:42 PM, Eric Anholt wrote: > The compiler used our dereference here to skip the NULL check below. > Fixes window resize in "jconsole -J-Dsun.java2d.opengl=True" under > OpenJDK 6. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi

Re: [Mesa-dev] [PATCH] glx: Fix use-before-null-check in dri2InvalidateBuffers().

2011-06-01 Thread Matt Turner
On Wed, Jun 1, 2011 at 4:42 PM, Eric Anholt wrote: > The compiler used our dereference here to skip the NULL check below. > Fixes window resize in "jconsole -J-Dsun.java2d.opengl=True" under > OpenJDK 6. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37766 > --- >  src/glx/dri2_glx.c |

[Mesa-dev] [PATCH] glx: Fix use-before-null-check in dri2InvalidateBuffers().

2011-06-01 Thread Eric Anholt
The compiler used our dereference here to skip the NULL check below. Fixes window resize in "jconsole -J-Dsun.java2d.opengl=True" under OpenJDK 6. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=37766 --- src/glx/dri2_glx.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-)