linux_dsm_epyc7002/drivers/media
Dan Carpenter 2505a210fc media: firewire: Using uninitialized values in node_probe()
If fw_csr_string() returns -ENOENT, then "name" is uninitialized.  So
then the "strlen(model_names[i]) <= name_len" is true because strlen()
is unsigned and -ENOENT is type promoted to a very high positive value.
Then the "strncmp(name, model_names[i], name_len)" uses uninitialized
data because "name" is uninitialized.

Fixes: 92374e886c ("[media] firedtv: drop obsolete backend abstraction")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-07-04 11:57:10 +02:00
..
cec media: cec: remove unused waitq and phys_addrs fields 2020-06-23 15:11:25 +02:00
common media: videobuf2: remove redundant if-statement 2020-06-23 13:40:10 +02:00
dvb-core media: videobuf2: add queue memory consistency parameter 2020-06-23 13:31:12 +02:00
dvb-frontends media: dvb-frontends: remove redundant initialization of variable status 2020-05-12 17:33:31 +02:00
firewire media: firewire: Using uninitialized values in node_probe() 2020-07-04 11:57:10 +02:00
i2c media: ov2740: add NVMEM interface to read customized OTP data 2020-06-23 15:19:16 +02:00
mc media: media-request: Fix crash if memory allocation fails 2020-06-23 15:19:37 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: budget-core: Improve exception handling in budget_register() 2020-06-23 15:10:00 +02:00
platform media: coda: jpeg: add NULL check after kmalloc 2020-07-04 11:56:37 +02:00
radio media: radio: don't use a menu just for wl128x driver 2020-04-16 10:34:57 +02:00
rc media: rc: add support for Infrared Toy and IR Droid devices 2020-06-23 15:07:21 +02:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: vivid: add cache_hints module param 2020-06-23 13:40:35 +02:00
tuners media: si2157: ensure wait_status is initialized 2020-04-29 11:59:57 +02:00
usb media: usb: pwc: pwc.h: Replace zero-length array with flexible-array member 2020-07-04 11:55:52 +02:00
v4l2-core media: videobuf2: handle V4L2_FLAG_MEMORY_NON_CONSISTENT flag 2020-06-23 13:32:41 +02:00
Kconfig media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00