summaryrefslogtreecommitdiffstats
path: root/drivers/bcma/driver_chipcommon_sflash.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2018-04-11 11:47:32 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-04-17 05:50:00 -0400
commitea72fbf588ac9c017224dcdaa2019ff52ca56fee (patch)
tree42295573e6220f1db1517775ee352abf81de5b6c /drivers/bcma/driver_chipcommon_sflash.c
parent34b2ea1c9e6a6bc5cb57e447dda4196d46da69e8 (diff)
downloadblackbird-obmc-linux-ea72fbf588ac9c017224dcdaa2019ff52ca56fee.tar.gz
blackbird-obmc-linux-ea72fbf588ac9c017224dcdaa2019ff52ca56fee.zip
media: v4l2-compat-ioctl32: prevent go past max size
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>
Diffstat (limited to 'drivers/bcma/driver_chipcommon_sflash.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud