aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwspinlock
diff options
context:
space:
mode:
authorJiasheng Jiang2023-06-19 16:12:01 +0800
committerGreg Kroah-Hartman2023-11-20 11:52:14 +0100
commit5c26aae3723965c291c65dd2ecad6a3240d422b0 (patch)
treed509a0e296873b198b1de5db64e1e1043f4c917f /drivers/hwspinlock
parente7c96f4605d91b5631694b511290608625f17cc2 (diff)
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>
Diffstat (limited to 'drivers/hwspinlock')
0 files changed, 0 insertions, 0 deletions