commit | 6706fe55af6fc2bcb069a77620ae38662bf09d1c | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jul 04 05:48:35 2018 -0400 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Thu Aug 02 14:21:39 2018 -0400 |
tree | 4690722c20a18b4a5b8e4c36fcaea1f872a890c7 | |
parent | 320905baa1dbddd3991c287432176d536e1d5b79 [diff] |
media: dvb_ca_en50221: off by one in dvb_ca_en50221_io_do_ioctl() The > should be >= so we don't read one element beyond the end of the ca->slot_info[] array. The array is allocated in dvb_ca_en50221_init(). Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Jasmin Jessich <jasmin@anw.at> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>