linux/drivers/media/usb
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
..
au0828 [media] au0828: Fix sparse non static symbol warning 2014-01-15 09:11:47 -02:00
b2c2 [media] drivers: media: usb: b2c2: use usb_*_coherent() instead of pci_*_consistent() in flexcop-usb.c 2013-10-17 11:26:41 -03:00
cpia2 [media] media: Change variable type to bool 2013-10-17 11:24:35 -03:00
cx231xx [media] cx231xx: add support for a CX23103 Video Grabber USB 2014-01-07 09:46:36 -02:00
dvb-usb Merge branch 'upstream-fixes' into patchwork 2013-12-13 05:04:00 -02:00
dvb-usb-v2 [media] mxl111sf: Fix unintentional garbage stack read 2014-02-04 06:36:42 -02:00
em28xx [media] em28xx-cards: properly initialize the device bitmap 2014-01-15 11:46:20 -02:00
gspca [media] media_tree: Fix spelling errors 2013-12-09 14:50:50 -02:00
hdpvr [media] hdpvr: fix sparse warnings 2013-10-15 12:54:20 -03:00
pvrusb2 [media] pvrusb2: fix sparse warning 2013-10-15 12:54:38 -03:00
pwc [media] media: Remove OOM message after input_allocate_device 2014-01-07 08:01:42 -02:00
s2255 [media] S2255: Removal of unnecessary videobuf_queue_is_busy 2013-08-01 14:55:17 -03:00
siano [media] siano: Use the default firmware for Stellar 2013-10-14 06:41:10 -03:00
stk1160 [media] stk1160: Build as a module if SND is m and audio support is selected 2013-08-01 14:55:25 -03:00
stkwebcam [media] Add HCL T12Rg-H to STK webcam upside-down table 2013-09-26 07:15:49 -03:00
tlg2300 [media] tlg2300: fix sparse warning 2013-10-15 13:00:38 -03:00
tm6000 [media] tm6000: remove deprecated current_norm 2013-06-17 09:35:27 -03:00
ttusb-budget [media] ttusb-budget: fix memory leak in ttusb_probe() 2013-06-21 15:06:51 -03:00
ttusb-dec [media] dvb-usb: fix error handling in ttusb_dec_probe() 2013-10-03 07:33:59 -03:00
usbtv [media] usbtv: Add support for PAL video source 2013-12-09 14:50:50 -02:00
usbvision [media] usbvision-video: fix memory leak of alt_max_pkt_size 2013-06-21 11:29:24 -03:00
uvc [media] media_tree: Fix spelling errors 2013-12-09 14:50:50 -02:00
zr364xx [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
Kconfig [media] sn9c102: prepare for removal by moving it to staging 2013-12-20 13:41:36 -02:00
Makefile [media] sn9c102: prepare for removal by moving it to staging 2013-12-20 13:41:36 -02:00