linux/drivers/media/usb/dvb-usb-v2
Dave Jones 866e8d8a9d [media] mxl111sf: Fix unintentional garbage stack read
mxl111sf_read_reg takes an address of a variable to write to as an argument.
drivers/media/usb/dvb-usb-v2/mxl111sf-gpio.c:mxl111sf_config_pin_mux_modes
passes several uninitialized stack variables to this routine, expecting
them to be filled in.  In the event that something unexpected happens when
reading from the chip, we end up doing a pr_debug of the value passed in,
revealing whatever garbage happened to be on the stack.

Change the pr_debug to match what happens in the 'success' case, where we
assign buf[1] to *data.

Spotted with Coverity (Bugs 731910 through 731917)

Signed-off-by: Dave Jones <davej@fedoraproject.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-02-04 06:36:42 -02:00
..
Kconfig [media] dvb-usb-v2: fix Kconfig dependency when RC_CORE=m 2013-07-26 10:12:53 -03:00
Makefile [media] media: move dvb-usb-v2/cypress_firmware.c to media/common 2013-03-29 11:35:06 -03:00
af9015.c [media] af9015: Don't use dynamic static allocation 2013-11-08 09:45:45 -02:00
af9015.h [media] af9015: do not use buffers from stack for usb_bulk_msg() 2013-03-18 16:51:17 -03:00
af9035.c [media] af9035: add [0413:6a05] Leadtek WinFast DTV Dongle Dual 2013-12-10 09:09:19 -02:00
af9035.h [media] af9035: correct TS mode handling 2013-06-08 21:45:22 -03:00
anysee.c [media] anysee: fix non-working E30 Combo Plus DVB-T 2013-12-20 14:24:20 -02:00
anysee.h [media] anysee: do not use buffers from stack for usb_bulk_msg() 2013-03-18 16:54:26 -03:00
au6610.c [media] au6610: use Kernel dev_foo() logging 2012-09-23 20:50:03 -03:00
au6610.h
az6007.c [media] az6007: support Technisat Cablestar Combo HDCI (minus remote) 2013-12-10 07:15:54 -02:00
ce6230.c [media] ce6230: use Kernel dev_foo() logging 2012-09-23 20:50:42 -03:00
ce6230.h [media] dvb_usb_v2: use dvb_usb_dbg_usb_control_msg() 2012-09-15 11:35:59 -03:00
dvb_usb.h [media] dvb_usb_v2: get rid of deferred probe 2013-08-18 07:55:06 -03:00
dvb_usb_common.h
dvb_usb_core.c [media] dvb_usb_v2: get rid of deferred probe 2013-08-18 07:55:06 -03:00
dvb_usb_urb.c [media] dvb_usb_v2: make checkpatch.pl happy 2013-03-23 09:59:56 -03:00
ec168.c [media] ec168: fix error return code 2014-01-07 09:19:03 -02:00
ec168.h [media] ec168: declare MODULE_FIRMWARE 2012-09-23 20:08:21 -03:00
gl861.c [media] gl861: use Kernel dev_foo() logging 2012-09-23 20:50:13 -03:00
gl861.h
it913x.c [media] it913x: Add support for Avermedia H335 id 0x0335 2013-12-18 10:27:53 -02:00
lmedm04.c [media] lme2510: do not use bInterfaceNumber from dvb_usb_v2 2013-08-18 07:54:37 -03:00
lmedm04.h
mxl111sf-demod.c [media] update Michael Krufky's email address 2014-02-04 06:34:21 -02:00
mxl111sf-demod.h [media] update Michael Krufky's email address 2014-02-04 06:34:21 -02:00
mxl111sf-gpio.c [media] update Michael Krufky's email address 2014-02-04 06:34:21 -02:00
mxl111sf-gpio.h [media] update Michael Krufky's email address 2014-02-04 06:34:21 -02:00
mxl111sf-i2c.c [media] update Michael Krufky's email address 2014-02-04 06:34:21 -02:00
mxl111sf-i2c.h [media] update Michael Krufky's email address 2014-02-04 06:34:21 -02:00
mxl111sf-phy.c [media] update Michael Krufky's email address 2014-02-04 06:34:21 -02:00
mxl111sf-phy.h [media] update Michael Krufky's email address 2014-02-04 06:34:21 -02:00
mxl111sf-reg.h [media] update Michael Krufky's email address 2014-02-04 06:34:21 -02:00
mxl111sf-tuner.c [media] update Michael Krufky's email address 2014-02-04 06:34:21 -02:00
mxl111sf-tuner.h [media] update Michael Krufky's email address 2014-02-04 06:34:21 -02:00
mxl111sf.c [media] mxl111sf: Fix unintentional garbage stack read 2014-02-04 06:36:42 -02:00
mxl111sf.h [media] update Michael Krufky's email address 2014-02-04 06:34:21 -02:00
rtl28xxu.c [media] Add USB IDs for Winfast DTV Dongle Mini-D 2013-12-19 09:26:15 -02:00
rtl28xxu.h [media] rtl28xxu: add RTL2832P + R828D support 2013-10-31 06:09:49 -02:00
usb_urb.c [media] dvb_usb_v2: make checkpatch.pl happy 2013-03-23 09:59:56 -03:00