[PATCH xserver] glamor: avoid a crash if texture allocation failed
eric at anholt.net
Fri Mar 17 20:18:11 UTC 2017
Olivier Fourdan <ofourdan at redhat.com> writes:
> Texture creation in _glamor_create_tex() can fail if a GL_OUT_OF_MEMORY
> is raised, in which case the texture returned is zero.
> But the texture value is not checked in glamor_create_fbo() and glamor
> will abort in glamor_pixmap_ensure_fb() because the fbo->tex is 0:
Reviewed, tagged for stable, and pushed. Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 832 bytes
Desc: not available
More information about the xorg-devel