2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-06 20:53:54 +08:00
linux-next/drivers/media
Mauro Carvalho Chehab ea72fbf588 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>
2018-04-17 05:50:00 -04:00
..
cec media: cec: fix smatch error 2018-04-17 05:49:59 -04:00
common media: v4l2-tpg-core.c: add space after % 2018-04-04 06:12:52 -04:00
dvb-core media: dvb_frontend: fix locking issues at dvb_frontend_get_event() 2018-04-17 05:49:58 -04:00
dvb-frontends media: sp887x: fix a warning 2018-03-23 06:54:32 -04:00
firewire vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
i2c media updates for v4.17-rc1 2018-04-10 10:10:30 -07:00
mmc media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
pci Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-04-06 11:07:08 -07:00
platform media: platform: fix some 64-bits warnings 2018-04-17 05:50:00 -04:00
radio media: si470x: fix __be16 annotations 2018-04-17 05:28:05 -04:00
rc media updates for v4.17-rc1 2018-04-03 17:16:59 -07:00
spi media: cxd2880: Add all Makefile, Kconfig files and Update MAINTAINERS file for the driver 2018-03-07 05:02:57 -05:00
tuners media: r820t: don't crash if attach fails 2018-04-04 05:36:20 -04:00
usb media: gspca: fix Kconfig help info 2018-04-04 06:27:28 -04:00
v4l2-core media: v4l2-compat-ioctl32: prevent go past max size 2018-04-17 05:50:00 -04:00
Kconfig media updates for v4.17-rc1 2018-04-03 17:16:59 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media-device.c media: zero reservedX fields in media_v2_topology 2018-02-26 09:47:53 -05:00
media-devnode.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
media-entity.c media: media.h: reorganize header to make it easier to understand 2018-02-26 10:14:46 -05:00