linux_dsm_epyc7002/drivers/media/dvb
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
..
b2c2 [media] dvb: use %*ph to hexdump small buffers 2012-08-13 16:39:33 -03:00
bt8xx [media] dvb: use %*ph to hexdump small buffers 2012-08-13 16:39:33 -03:00
ddbridge [media] drxk: Make the QAM demodulator command parameters configurable 2012-07-06 14:54:43 -03:00
dm1105 [media] dm1105: release dvbnet on frontend attachment failure 2012-01-07 11:54:03 -02:00
dvb-core [media] DVB: improve handling of TS packets containing a raised TEI bit 2012-08-13 19:51:33 -03:00
dvb-usb [media] dvb-usb: use %*ph to dump small buffers 2012-08-13 16:42:24 -03:00
dvb-usb-v2 [media] lmedm04: fix data usage past the end of the buffer 2012-08-13 19:53:29 -03:00
firewire Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
frontends [media] dvb: frontends: use %*ph to dump small buffers 2012-08-13 16:38:19 -03:00
mantis [media] mantis: fix silly crash case 2012-08-12 12:22:43 -03:00
ngene [media] dvb: use %*ph to hexdump small buffers 2012-08-13 16:39:33 -03:00
pluto2 [media] pluto2: remove some dead code 2012-04-19 17:15:32 -03:00
pt1 [media] dvb: earth-pt1: remove unsupported net subdevices 2012-03-19 15:48:13 -03:00
siano [media] drivers/media/dvb/siano/smscoreapi.c: use list_for_each_entry 2012-07-30 21:48:05 -03:00
ttpci [media] ttpci: add support for Omicom S2 PCI 2012-08-12 14:41:26 -03:00
ttusb-budget Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-01-15 12:49:56 -08:00
ttusb-dec Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-01-15 12:49:56 -08:00
Kconfig [media] dvb_usb_v2: move from dvb-usb to dvb-usb-v2 2012-08-04 07:56:40 -03:00
Makefile [media] dvb_usb_v2: move from dvb-usb to dvb-usb-v2 2012-08-04 07:56:40 -03:00