From c28ff6cdfb3d9a41866f4dc6989c97a030807ed0 Mon Sep 17 00:00:00 2001 From: sunghyun kim Date: Fri, 23 Sep 2016 11:30:39 +0900 Subject: [PATCH] evas-gl-core: fix dereferenced bug Change-Id: I18ce3d5b3cb928b174b00b3a36be6c2286c4503a --- src/modules/evas/engines/gl_common/evas_gl_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/evas/engines/gl_common/evas_gl_core.c b/src/modules/evas/engines/gl_common/evas_gl_core.c index 91c6f61..4bf0159 100644 --- a/src/modules/evas/engines/gl_common/evas_gl_core.c +++ b/src/modules/evas/engines/gl_common/evas_gl_core.c @@ -143,7 +143,7 @@ _internal_resource_make_current(void *eng_data, EVGL_Surface *sfc, EVGL_Context { // Do Nothing } - else if (ctx->pixmap_image_supported) // Pixmap surface + else if (ctx && (ctx->pixmap_image_supported)) // Pixmap surface { if (!sfc->indirect_sfc) { -- 2.7.4