Skip to content
Commit 5c26aae3 authored by 蒋家盛's avatar 蒋家盛 Committed by Greg Kroah-Hartman
Browse files

media: vidtv: psi: Add check for kstrdup



[ Upstream commit 76a2c5df ]

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

Fixes: 7a7899f6 ("media: vidtv: psi: Implement an Event Information Table (EIT)")
Fixes: c2f78f0c ("media: vidtv: psi: add a Network Information Table (NIT)")
Fixes: f90cf607 ("media: vidtv: add a bridge driver")
Signed-off-by: default avatarJiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent e7c96f46
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment