diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2023-06-19 11:12:01 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-10-07 11:55:45 +0300 |
commit | 76a2c5df6ca8bd8ada45e953b8c72b746f42918d (patch) | |
tree | b5c5dbada2670ba09754eecc9c7c5e3df1cccdce /drivers/media/test-drivers/Makefile | |
parent | 5f9fcbf92da901495f2f8b09d2f6df5c2ca83dc5 (diff) | |
download | linux-76a2c5df6ca8bd8ada45e953b8c72b746f42918d.tar.xz |
media: vidtv: psi: Add check for kstrdup
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>
Diffstat (limited to 'drivers/media/test-drivers/Makefile')
0 files changed, 0 insertions, 0 deletions