raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=bb6c324e7302980b980c8b2da0b1e9b7c288f37a
commit bb6c324e7302980b980c8b2da0b1e9b7c288f37a Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Fri Jan 6 17:42:44 2017 +0900 evas gl - avoid a possible crash of tex upload of invalid sized image so i had a crash where my bt said the image size is 1x1 but the img struct said its 0x0, so put in protection to not upload a texture from a 0x0 image... just for now... because this is odd - the image data is a real ptr i can access and there should be at least 1 pixel... but i can't be sure this fixes it as this is one of those "one offs" i cant reproduce... @fix --- src/modules/evas/engines/gl_common/evas_gl_texture.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/evas/engines/gl_common/evas_gl_texture.c b/src/modules/evas/engines/gl_common/evas_gl_texture.c index 903a60b..c6f045a 100644 --- a/src/modules/evas/engines/gl_common/evas_gl_texture.c +++ b/src/modules/evas/engines/gl_common/evas_gl_texture.c @@ -1173,6 +1173,8 @@ evas_gl_common_texture_upload(Evas_GL_Texture *tex, RGBA_Image *im, unsigned int { GLuint fmt; + if ((((int)im->cache_entry.w) <= 0) || + (((int)im->cache_entry.w) <= 0)) return; fmt = tex->pt->format; glBindTexture(GL_TEXTURE_2D, tex->pt->texture); if (tex->gc->shared->info.unpack_row_length) --