summaryrefslogtreecommitdiff
path: root/net/mac80211/wme.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2017-04-28 07:51:40 +0300
committerSasha Levin <alexander.levin@verizon.com>2017-06-26 05:02:21 +0300
commit61df07cce8eba07e3b40c09d16a51e2204f7536f (patch)
tree195ca51562ca90f0ef9829323fe2995837acd0d2 /net/mac80211/wme.c
parent6ea9210c046f2a3505e2b6691dfdddb22ed0c008 (diff)
downloadlinux-61df07cce8eba07e3b40c09d16a51e2204f7536f.tar.xz
[media] vb2: Fix an off by one error in 'vb2_plane_vaddr'
[ Upstream commit 5ebb6dd36c9f5fb37b1077b393c254d70a14cb46 ] We should ensure that 'plane_no' is '< vb->num_planes' as done in 'vb2_plane_cookie' just a few lines below. Fixes: e23ccc0ad925 ("[media] v4l: add videobuf2 Video for Linux 2 driver framework") Cc: stable@vger.kernel.org Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'net/mac80211/wme.c')
0 files changed, 0 insertions, 0 deletions