glx: Handle a null reply in QueryVersion.
authorStéphane Marchesin <marcheu@chromium.org>
Fri, 25 May 2012 00:58:53 +0000 (17:58 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Tue, 12 Jun 2012 21:42:22 +0000 (14:42 -0700)
commit0256edd709d976198d5354fdd88143d8da9e51d5
treee5dfe87a83679cca9cb4943c6aae227379c35203
parent1657dec72d6dcb6158bb65cea2e1b6ff2445746c
glx: Handle a null reply in QueryVersion.

Works around crashes when X connections break.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
NOTE: This is a candidate for the 8.0 branch.
src/glx/glxext.c