rootfs: 7.2
We detected an array out-of-bounds BUG through the asan software,
In the OpenglES program, we use the cube texture. There is a picture with a width and height of 2*2, the type is GL_RGB8, and a total of 12 bytes. When using the following code, asan detects that the glTexImage2D function has overread 6 bytes.
void *imagePtr = malloc(12); glTexImage2D(GL_TEXTURE_CUBE_MAP_POSITIVE_X + j, i, GL_RGB8, 2, 2, 0, GL_RGB, GL_UNSIGNED_BYTE, imagePtr);
This is asan's log

Please help to confirm whether it is a bug?
Regards,
lidaming