Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a9ae4692 authored by Zhaowei Yuan's avatar Zhaowei Yuan Committed by Mauro Carvalho Chehab
Browse files

[media] vb2: fix plane index sanity check in vb2_plane_cookie()



It's also invalid when plane_no is equal to vb->num_planes

Signed-off-by: default avatarZhaowei Yuan <zhaowei.yuan@samsung.com>
Cc: stable@vger.kernel.org      # for v3.7 and up
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 983ed755
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment