diff options
| author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-04-11 11:47:32 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-03 11:21:33 +0200 |
| commit | ce7d1aac3c396c9a25e482dc5f8620e721c3e7bb (patch) | |
| tree | 7e67ef26a9b3b4c5c5bcd60f34a5a65a07bd07b1 /scripts/stackusage | |
| parent | 5f21ae5aee6cffea0974a10f7639cf034e5b1757 (diff) | |
media: v4l2-compat-ioctl32: prevent go past max size
commit ea72fbf588ac9c017224dcdaa2019ff52ca56fee upstream.
As warned by smatch:
drivers/media/v4l2-core/v4l2-compat-ioctl32.c:879 put_v4l2_ext_controls32() warn: check for integer overflow 'count'
The access_ok() logic should check for too big arrays too.
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
