summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEvgeny Novikov <novikov@ispras.ru>2021-05-19 14:04:49 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-14 16:55:53 +0200
commit74ef2418a76ba8d0f9f74f38efd6eba370dce582 (patch)
tree5a76df6d1e64fce64301dae1ad945caa3e3ec8d6 /scripts
parent617afcee2a5f4f336dd083bbb4f2e2f6cd1a2f6d (diff)
media: st-hva: Fix potential NULL pointer dereferences
[ Upstream commit b7fdd208687ba59ebfb09b2199596471c63b69e3 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions