diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2023-06-19 16:12:01 +0800 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-10-07 10:55:45 +0200 |
commit | 76a2c5df6ca8bd8ada45e953b8c72b746f42918d (patch) | |
tree | b5c5dbada2670ba09754eecc9c7c5e3df1cccdce /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5f9fcbf92da901495f2f8b09d2f6df5c2ca83dc5 (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions