linux/drivers/media/platform
Bryan O'Donoghue ab6aaa8210 media: venus: dec: Handle the case where find_format fails
commit 06a2da340f upstream.

Debugging the decoder on msm8916 I noticed the vdec probe was crashing if
the fmt pointer was NULL.

A similar fix from Colin Ian King found by Coverity was implemented for the
encoder. Implement the same fix on the decoder.

Fixes: 7472c1c691 ("[media] media: venus: vdec: add video decoder files")
Cc: stable@vger.kernel.org  # v4.13+
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-10-30 09:41:15 +01:00
..
am437x media: am437x: fix pm_runtime_get_sync() usage count 2021-07-14 16:55:48 +02:00
atmel
cadence
coda media: coda: Add more H264 levels for CODA960 2022-06-09 10:21:25 +02:00
davinci media: davinci: vpif: fix unbalanced runtime PM enable 2022-04-08 14:39:58 +02:00
exynos-gsc media: exynos-gsc: fix pm_runtime_get_sync() usage count 2021-07-14 16:55:49 +02:00
exynos4-is media: exynos4-is: fimc-is: Add of_node_put() when breaking out of loop 2022-10-26 13:25:32 +02:00
marvell-ccic
mtk-jpeg
mtk-mdp media: platform: mtk-mdp: Fix mdp_ipi_comm structure alignment 2022-08-21 15:15:46 +02:00
mtk-vcodec media: mtk-vcodec: potential dereference of null pointer 2022-04-08 14:40:05 +02:00
mtk-vpu media: mtk-vpu: Fix a resource leak in the error handling path of 'mtk_vpu_probe()' 2021-11-18 14:04:05 +01:00
omap
omap3isp media: v4l2-async: Clean v4l2_async_notifier_add_fwnode_remote_subdev 2021-07-14 16:56:11 +02:00
qcom media: venus: dec: Handle the case where find_format fails 2022-10-30 09:41:15 +01:00
rcar-vin media: rcar-csi2: Optimize the selection PHTW register 2022-01-27 10:54:29 +01:00
rockchip/rga media: rga: fix possible memory leak in rga_probe 2022-06-09 10:20:55 +02:00
s3c-camif
s5p-g2d media: s5p-g2d: Fix a memory leak on ctx->fh.m2m_ctx 2021-07-14 16:56:07 +02:00
s5p-jpeg media: s5p-jpeg: fix pm_runtime_get_sync() usage count 2021-07-14 16:55:49 +02:00
s5p-mfc media: s5p-mfc: Add checking to s5p_mfc_probe(). 2021-11-18 14:03:55 +01:00
sti media: st-delta: Fix PM disable depth imbalance in delta_probe 2022-06-09 10:21:08 +02:00
stm32 media: stm32: Potential NULL pointer dereference in dcmi_irq_thread() 2021-11-18 14:03:55 +01:00
sunxi media: v4l2-async: Clean v4l2_async_notifier_add_fwnode_remote_subdev 2021-07-14 16:56:11 +02:00
ti-vpe
vsp1 media: vsp1: Fix offset calculation for plane cropping 2022-06-09 10:21:08 +02:00
xilinx media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init 2022-10-26 13:25:33 +02:00
aspeed-video.c media: aspeed: Fix an error handling path in aspeed_video_probe() 2022-06-09 10:21:08 +02:00
fsl-viu.c
imx-pxp.c media: imx-pxp: Initialize the spinlock prior to using it 2022-01-27 10:53:51 +01:00
imx-pxp.h
Kconfig
m2m-deinterlace.c
Makefile
mx2_emmaprp.c
pxa_camera.c
rcar_drif.c
rcar_fdp1.c
rcar_jpu.c
rcar-fcp.c
renesas-ceu.c
sh_vou.c media: sh_vou: fix pm_runtime_get_sync() usage count 2021-07-14 16:55:49 +02:00
via-camera.c
via-camera.h
video-mux.c media: video-mux: Skip dangling endpoints 2021-07-14 16:56:11 +02:00