replicant-frameworks_native/opengl/libagl
Michael Lentine 9530388b26 Check that width and height parameters are small.
The product of width and height should be less than UINT32_MAX (in practice
smaller). Adding the checks prevents overflows when allocating buffers.

Bug: 20726612
Change-Id: I9769edf0688a9bfe69906d49fa0540cadf4c49b0
(cherry picked from commit 1c4537e2e8)
2015-06-01 11:12:28 -07:00
..
arch-mips [MIPS] Add MIPS architecture support to libagl 2013-03-27 10:53:14 -07:00
Android.mk [MIPS] Build libGLES for mips64, mips32r6 2015-01-12 22:18:13 -08:00
array.cpp native frameworks: 64-bit compile issues 2014-03-12 13:12:44 -07:00
array.h
BufferObjectManager.cpp
BufferObjectManager.h native frameworks: 64-bit compile issues 2014-03-12 13:12:44 -07:00
context.h libGLES_android: fix 64-bit compile errors 2014-01-24 14:44:57 -08:00
dxt.cpp
dxt.h
egl.cpp Check that width and height parameters are small. 2015-06-01 11:12:28 -07:00
fixed_asm.S opengl: fix UAL conformity 2014-04-02 03:02:48 +00:00
fp.cpp [MIPS] Build libGLES for mips64, mips32r6 2015-01-12 22:18:13 -08:00
fp.h
iterators.S opengl: fix UAL conformity 2014-04-02 03:02:48 +00:00
light.cpp native frameworks: 64-bit compile issues 2014-03-12 13:12:44 -07:00
light.h
matrix.cpp Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE 2012-01-03 22:38:27 +00:00
matrix.h [MIPS] Build libGLES for mips64, mips32r6 2015-01-12 22:18:13 -08:00
mipmap.cpp Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE 2012-01-08 13:19:13 +00:00
primitives.cpp native frameworks: 64-bit compile issues 2014-03-12 13:12:44 -07:00
primitives.h
state.cpp native frameworks: 64-bit compile issues 2014-03-12 13:12:44 -07:00
state.h
texture.cpp native frameworks: 64-bit compile issues 2014-03-12 13:12:44 -07:00
texture.h
TextureObjectManager.cpp remove dependency on android_native{s_priv|buffer}.h 2012-02-24 18:26:01 -08:00
TextureObjectManager.h frameworks/base: android_native_buffer_t -> ANativeWindowBuffer 2011-05-03 16:40:14 -07:00
Tokenizer.cpp libGLES_android: fix 64-bit compile errors 2014-01-24 14:44:57 -08:00
Tokenizer.h
TokenManager.cpp
TokenManager.h
vertex.cpp native frameworks: 64-bit compile issues 2014-03-12 13:12:44 -07:00
vertex.h