linux/drivers/media
Katya Orlova 61334819ac media: s3c-camif: Avoid inappropriate kfree()
s3c_camif_register_video_node() works with video_device structure stored
as a field of camif_vp, so it should not be kfreed.
But there is video_device_release() on error path that do it.

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

Fixes: babde1c243 ("[media] V4L: Add driver for S3C24XX/S3C64XX SoC series camera interface")
Signed-off-by: Katya Orlova <e.orlova@ispras.ru>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2023-10-07 10:55:45 +02:00
..
cec media: platform: cros-ec: Add Boxy to the match table 2023-09-27 09:39:55 +02:00
common media: use struct_size() helper 2023-09-27 09:40:01 +02:00
dvb-core lib/math: Move dvb_math.c into lib/math/int_log.c 2023-07-09 22:47:48 +01:00
dvb-frontends media: dvb-frontends: drx39xyj: Remove unnecessary ternary operators 2023-09-27 09:39:55 +02:00
firewire media: firewire: firedtv-avc.c: replace BUG with proper, error return 2023-08-10 07:58:37 +02:00
i2c media: i2c: adv7180: Drop CONFIG_OF ifdeffery 2023-10-07 10:55:45 +02:00
mc media: mc: Make media_get_pad_index() use pad type flag 2023-05-25 16:21:22 +02:00
mmc media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
pci media: cobalt: Use FIELD_GET() to extract Link Width 2023-10-07 10:55:45 +02:00
platform media: s3c-camif: Avoid inappropriate kfree() 2023-10-07 10:55:45 +02:00
radio media: radio-si476x: don't fill in bus_info 2023-09-27 10:47:23 +02:00
rc media: rc: ati_remote: increase mouse_name buffer size 2023-09-27 10:47:22 +02:00
spi media updates for v5.18-rc1 2022-03-23 14:51:35 -07:00
test-drivers media: vivid: use VIVID_MODULE_NAME to fill bus_info 2023-09-27 10:47:23 +02:00
tuners media: dvb: symbol fixup for dvb_attach() 2023-09-09 08:15:11 +01:00
usb media: cx231xx: Add EP5_BUF_SIZE and EP5_TIMEOUT_MS macros 2023-09-27 09:39:55 +02:00
v4l2-core media: v4l: Add HEXTILE compressed format 2023-09-27 09:40:01 +02:00
Kconfig media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y 2022-12-07 17:58:46 +01:00
Makefile media: Makefiles: remove extra spaces 2022-03-12 16:59:52 +01:00