diff options
author | Evgeny Novikov <novikov@ispras.ru> | 2021-05-19 15:04:49 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-06-02 15:05:00 +0300 |
commit | b7fdd208687ba59ebfb09b2199596471c63b69e3 (patch) | |
tree | aaa804bb61866439f185e329546dc7e492667369 /fs/ubifs/tnc_commit.c | |
parent | cca65f64045523f923380171bf6d329bfd79970f (diff) | |
download | linux-b7fdd208687ba59ebfb09b2199596471c63b69e3.tar.xz |
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>
Diffstat (limited to 'fs/ubifs/tnc_commit.c')
0 files changed, 0 insertions, 0 deletions