kernel_samsung_a53x/drivers/media/test-drivers/vidtv
Jiasheng Jiang 1e9676d632 media: vidtv: psi: Add check for kstrdup
[ Upstream commit 76a2c5df6ca8bd8ada45e953b8c72b746f42918d ]

Add check for the return value of kstrdup() and return the error
if it fails in order to avoid NULL pointer dereference.

Fixes: 7a7899f6f58e ("media: vidtv: psi: Implement an Event Information Table (EIT)")
Fixes: c2f78f0cb294 ("media: vidtv: psi: add a Network Information Table (NIT)")
Fixes: f90cf6079bf6 ("media: vidtv: add a bridge driver")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 11:43:07 +01:00
..
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vidtv_bridge.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vidtv_bridge.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vidtv_channel.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vidtv_channel.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vidtv_common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vidtv_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vidtv_demod.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vidtv_demod.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vidtv_encoder.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vidtv_mux.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vidtv_mux.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vidtv_pes.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vidtv_pes.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vidtv_psi.c media: vidtv: psi: Add check for kstrdup 2024-11-18 11:43:07 +01:00
vidtv_psi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vidtv_s302m.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vidtv_s302m.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vidtv_ts.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vidtv_ts.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vidtv_tuner.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vidtv_tuner.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00