st/mesa: Fix NULL pointer dereference for incomplete framebuffers
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 25 Apr 2014 02:40:39 +0000 (11:40 +0900)
committerMichel Dänzer <michel@daenzer.net>
Mon, 28 Apr 2014 03:12:03 +0000 (12:12 +0900)
commit136c437cea3ebc9541735bb40951128e1210f06b
tree83406a4bc0f1365da5c77c5f3c638399f2f1cfdf
parent151a20dcd42c0973275479609470c2b616b3faa9
st/mesa: Fix NULL pointer dereference for incomplete framebuffers

This can happen with glamor, which uses EGL_KHR_surfaceless_context and
only explicitly binds GL_READ_FRAMEBUFFER for glReadPixels.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_manager.c