diff options
| author | Marek Vasut <[email protected]> | 2023-02-16 01:44:01 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-02-26 10:21:33 +0000 |
| commit | 3e62aba8284de0994a669d07983299242e68fe72 (patch) | |
| tree | d282e137bfee8aa6c2cf8bb3cc3611244558dd0f /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
| parent | media: v4l2-subdev.c: clear stream field (diff) | |
| download | kernel-3e62aba8284de0994a669d07983299242e68fe72.tar.gz kernel-3e62aba8284de0994a669d07983299242e68fe72.zip | |
media: imx-mipi-csis: Check csis_fmt validity before use
The find_csis_format() may return NULL in case supported format is not
found, check the return value of find_csis_format() before using the
result to avoid NULL pointer dereference.
Fixes: 11927d0fd0d0 ("media: imx-mipi-csis: Use V4L2 subdev active state")
Signed-off-by: Marek Vasut <[email protected]>
Signed-off-by: Laurent Pinchart <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions
