Fix memory accessing overflow 54/80054/1
authorZhaowei Yuan <zhaowei.yuan@samsung.com>
Wed, 13 Jul 2016 20:11:00 +0000 (04:11 +0800)
committerZhaowei Yuan <zhaowei.yuan@samsung.com>
Wed, 13 Jul 2016 20:24:18 +0000 (04:24 +0800)
commitc4adcc98d679c9447715474c363d5f5c46417b81
tree70cb2f072d5081d7fae1c315d592bbda014a9f8c
parent8e89b085713f6c81850ae8e18aac7586f717f606
Fix memory accessing overflow

Size of arrays like ctx->gl_tex_2d_state[] should
be assgined to GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
which is the max number of active textures

Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
Change-Id: Id2512f705beb6fff532c108202910cca24504103
src/modules/fastpath/coregl_fastpath.h
src/modules/fastpath/coregl_fastpath_egl.c
src/modules/fastpath/coregl_fastpath_state.h
src/modules/tracepath/coregl_tracepath.c