From: Zhaowei Yuan Date: Fri, 22 Aug 2014 02:28:21 +0000 (-0300) Subject: [media] vb2: fix plane index sanity check in vb2_plane_cookie() X-Git-Tag: fixes-for-v3.18-merge-window~76^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9ae4692eda4b99f85757b15d60971ff78a0a0e2;p=pandora-kernel.git [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: Zhaowei Yuan Cc: stable@vger.kernel.org # for v3.7 and up Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed