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