linux/drivers/media/platform/sti
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
..
bdisp media: bdisp: remove redundant dev_err call in bdisp_probe() 2021-06-02 13:32:05 +02:00
c8sectpfe media: media/platform/sti: fix kernel-doc formatting 2021-03-22 12:54:27 +01:00
delta media: st-delta: Remove redundant assignment to ret 2021-06-02 13:33:37 +02:00
hva media: st-hva: Fix potential NULL pointer dereferences 2021-06-02 14:05:00 +02:00