alistair23-linux/drivers/media
Heinrich Schuchardt 18d75a09e9 [media] media: dib9000: avoid out of bound access
This updated patch also fixes out of bound access to b[].

In dib9000_risc_apb_access_write() an out of bound access to mb[].

The current test to avoid out of bound access to mb[] is insufficient.
For len = 19 non-existent mb[10] will be accessed.

For odd values of len b[] is accessed out of bounds.

For large values of len an of bound access to mb[] may occur in
dib9000_mbx_send_attr.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-07-22 21:15:41 -03:00
..
common [media] sms: Remove CONFIG_ prefix from Kconfig symbols 2014-07-22 09:57:28 -03:00
dvb-core [media] cxusb: TechnoTrend CT2-4400 USB DVB-T2/C tuner support 2014-07-14 21:07:07 -03:00
dvb-frontends [media] media: dib9000: avoid out of bound access 2014-07-22 21:15:41 -03:00
firewire
i2c [media] tvp5150: Use i2c_smbus_(read|write)_byte_data 2014-07-22 10:00:08 -03:00
mmc
parport [media] v4l: Support extending the v4l2_pix_format structure 2014-07-17 12:44:47 -03:00
pci [media] solo6x10: move out of staging into drivers/media/pci. 2014-07-22 12:53:00 -03:00
platform [media] coda: store IRAM size in struct coda_devtype 2014-07-22 12:16:58 -03:00
radio [media] Fix 64-bit division fall-out from 64-bit control ranges 2014-07-17 12:44:38 -03:00
rc [media] rc: add sunxi-ir driver 2014-07-04 14:53:43 -03:00
tuners [media] tuners/Kconfig: fix build when just DTV or SDR is enabled 2014-07-22 14:24:46 -03:00
usb [media] go7007: move out of staging into drivers/media/usb. 2014-07-22 12:53:33 -03:00
v4l2-core [media] v4l2-mem2mem: export v4l2_m2m_try_schedule 2014-07-22 12:06:50 -03:00
Kconfig [media] Kconfig: sub-driver auto-select SPI bus 2014-07-21 20:34:12 -03:00
Makefile
media-device.c [media] media-device: Remove duplicated memset() in media_enum_entities() 2014-07-22 01:02:52 -03:00
media-devnode.c
media-entity.c