linux_dsm_epyc7002/drivers/media/dvb/dvb-usb-v2
Malcolm Priestley 0a67fe4584 [media] lmedm04: fix data usage past the end of the buffer
On Mon, 2012-08-13 at 19:58 +0300, Dan Carpenter wrote:
> Hello Mauro Carvalho Chehab,
>
> The patch db6651a9eb: "[media] lmedm04: fix build" from Aug 12,
> 2012, leads to the following warning:
> drivers/media/dvb/dvb-usb-v2/lmedm04.c:769 lme2510_download_firmware()
> 	 error: usb_control_msg() 'data' too small (128 vs 265)
>
>    737          data = kzalloc(128, GFP_KERNEL);
>                                ^^^
> data is 128 bytes.

Control isn't used, so remove it.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-08-13 19:53:29 -03:00
..
af9015.c [media] dvb-usb: use %*ph to dump small buffers 2012-08-13 16:42:24 -03:00
af9015.h
af9035.c [media] dvb-usb: use %*ph to dump small buffers 2012-08-13 16:42:24 -03:00
af9035.h
anysee.c
anysee.h
au6610.c
au6610.h
az6007.c [media] az6007: Update copyright 2012-08-06 09:25:12 -03:00
ce6230.c
ce6230.h
cypress_firmware.c [media] dvb_usbv2: rename dvb_usb_firmware to cypress_firmware 2012-08-04 07:56:40 -03:00
cypress_firmware.h [media] dvb_usbv2: rename dvb_usb_firmware to cypress_firmware 2012-08-04 07:56:40 -03:00
dvb_usb_common.h
dvb_usb_core.c [media] dvb: get rid of fe_ioctl_override callback 2012-08-13 16:34:03 -03:00
dvb_usb_urb.c [media] dvb_usb_v2: use %*ph to dump usb xfer debugs 2012-08-13 16:42:57 -03:00
dvb_usb.h [media] dvb: get rid of fe_ioctl_override callback 2012-08-13 16:34:03 -03:00
ec168.c
ec168.h
gl861.c
gl861.h
Kconfig [media] rtl28xxu: convert to new DVB USB 2012-08-13 15:58:12 -03:00
lmedm04.c [media] lmedm04: fix data usage past the end of the buffer 2012-08-13 19:53:29 -03:00
lmedm04.h [media] lmedm04: fix build 2012-08-12 07:53:33 -03:00
Makefile [media] rtl28xxu: convert to new DVB USB 2012-08-13 15:58:12 -03:00
mxl111sf-demod.c
mxl111sf-demod.h
mxl111sf-gpio.c
mxl111sf-gpio.h
mxl111sf-i2c.c
mxl111sf-i2c.h
mxl111sf-phy.c
mxl111sf-phy.h
mxl111sf-reg.h
mxl111sf-tuner.c
mxl111sf-tuner.h
mxl111sf.c [media] dvb: get rid of fe_ioctl_override callback 2012-08-13 16:34:03 -03:00
mxl111sf.h
rtl28xxu.c [media] rtl28xxu: generalize streaming control 2012-08-13 16:00:38 -03:00
rtl28xxu.h [media] rtl28xxu: convert to new DVB USB 2012-08-13 15:58:12 -03:00
usb_urb.c