media/gpu/vaapiDmabufVFMapper: Fix out of bounds access
This fixes the access out of bounds in VaapiDmabufVideoFrameMapper. The class creates VideoFrames by VideoFrame::WrapExternalYuvDataWithLayout(). It needs three plane's addresses. However, the class creates an array whose size is two. It causes the issue when accessing the third element in the array. Bug: 1020776 Test: VDA tests resolution_change_500frames.vp9.ivf one hour w/o --use_vd Change-Id: I50910e564076916193f0e1b366f8ec165945c71d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2060226Reviewed-by:David Staessens <dstaessens@chromium.org> Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/master@{#742062}
Showing
Please register or sign in to comment