1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/media/platform/sti/hva
Evgeny Novikov b7fdd20868 media: st-hva: Fix potential NULL pointer dereferences
When ctx_id >= HVA_MAX_INSTANCES in hva_hw_its_irq_thread() it tries to
access fields of ctx that is NULL at that point. The patch gets rid of
these accesses.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Evgeny Novikov <novikov@ispras.ru>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-06-02 14:05:00 +02:00
..
hva-debugfs.c media: sti: no need to check return value of debugfs_create functions 2020-09-01 14:13:26 +02:00
hva-h264.c media: platform: sti: make a const arrays static, makes object smaller 2021-03-11 11:59:42 +01:00
hva-hw.c media: st-hva: Fix potential NULL pointer dereferences 2021-06-02 14:05:00 +02:00
hva-hw.h media: platform: sti: Adopt SPDX identifier 2017-12-13 09:54:41 -05:00
hva-mem.c media: st-hva: don't use GFP_DMA 2018-05-25 15:35:41 -04:00
hva-mem.h media: platform: sti: Adopt SPDX identifier 2017-12-13 09:54:41 -05:00
hva-v4l2.c media: Add V4L2_TYPE_IS_CAPTURE helper 2020-07-19 08:13:24 +02:00
hva.h media: media/platform/sti: fix kernel-doc formatting 2021-03-22 12:54:27 +01:00
Makefile media: sti: fix obj-$(config) targets 2021-05-18 11:32:03 +02:00