* commit 'f83c2720c1aab9c361e8240575386081d5f496af': SurfaceTexture: fix an out of bounds array write
This commit is contained in:
commit
cb8156e003
@ -200,7 +200,7 @@ status_t SurfaceTexture::releaseBufferLocked(int buf, EGLDisplay display,
|
||||
status_t err = ConsumerBase::releaseBufferLocked(buf, mEglDisplay,
|
||||
eglFence);
|
||||
|
||||
mEglSlots[mCurrentTexture].mEglFence = EGL_NO_SYNC_KHR;
|
||||
mEglSlots[buf].mEglFence = EGL_NO_SYNC_KHR;
|
||||
|
||||
return err;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user