linux/drivers/media
Daniil Dulov 0b70530ee7 media: go7007: add check of return value of go7007_read_addr()
If go7007_read_addr() returns error channel is not assigned a value.
In this case go to allocfail.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 866b8695d6 ("Staging: add the go7007 video driver")
Signed-off-by: Daniil Dulov <d.dulov@aladdin.ru>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-02-16 11:46:33 +01:00
..
cec media: platform: cros-ec: Add Dita to the match table 2024-02-16 11:46:32 +01:00
common media: v4l2-tpg: fix some memleaks in tpg_alloc 2024-02-05 12:57:45 +01:00
dvb-core media: dvb_frontend: Use wait_event_freezable_timeout() for freezable kthread 2024-02-16 11:46:31 +01:00
dvb-frontends media: dvb-frontends: Clean up errors in tda8083.h 2024-02-16 11:46:32 +01:00
firewire media: firewire: firedtv-avc.c: replace BUG with proper, error return 2023-08-10 07:58:37 +02:00
i2c media: i2c: st-vgxy61: remove redundant initialization of pointer mode 2024-02-16 11:46:32 +01:00
mc media: mc: Expand MUST_CONNECT flag to always require an enabled link 2024-02-05 14:29:34 +01:00
mmc
pci media: bt8xx: make bttv_sub_bus_type const 2024-02-16 11:46:33 +01:00
platform media: ti: Use devm_platform_ioremap_resource() in ti_csi2rx_probe() 2024-02-16 11:46:32 +01:00
radio media: radio-si476x: don't fill in bus_info 2023-09-27 10:47:23 +02:00
rc pwm: Changes for v6.8-rc1 2024-01-12 14:59:50 -08:00
spi
test-drivers media updates for v6.8-rc1 2024-01-12 14:29:48 -08:00
tuners media: tda18271: remove redundant assignment to variable bcal 2024-02-16 11:46:32 +01:00
usb media: go7007: add check of return value of go7007_read_addr() 2024-02-16 11:46:33 +01:00
v4l2-core media: core: v4l2-ioctl.c: use is_valid_ioctl() 2024-02-16 11:46:32 +01:00
Kconfig media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y 2022-12-07 17:58:46 +01:00
Makefile