coregl_fastpath: Fix NULL pointer access 55/88655/2
authorZhaowei Yuan <zhaowei.yuan@samsung.com>
Mon, 19 Sep 2016 18:42:51 +0000 (02:42 +0800)
committerGwan-gyeong Mun <kk.moon@samsung.com>
Thu, 29 Sep 2016 10:43:35 +0000 (03:43 -0700)
commit5084858c7ac36110b7bc3554e983b50b62e5e9a7
tree4fc0c60be67c6d41aa94f975c1ab91c5985702d1
parentc5fe83bf2660d11a2ec0e2087deb0db9527009e8
coregl_fastpath: Fix NULL pointer access

Check if gctx->gl_current_program is NULL before
accessing it

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: I48521476422be2cb3c7d77af6df47ddc96ca069f
src/modules/fastpath/coregl_fastpath_gl.c