diff options
| author | Jiasheng Jiang <[email protected]> | 2022-01-13 07:59:28 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-01-28 13:19:07 +0100 |
| commit | c8c80c996182239ff9b05eda4db50184cf3b2e99 (patch) | |
| tree | 656a0ab315592249346daddc4ae892a2681e7aa3 /tools/perf/scripts/python | |
| parent | 417591a766b3c040c346044541ff949c0b2bb7b2 (diff) | |
media: meson: vdec: potential dereference of null pointer
As the possible failure of the kzalloc(), the 'new_ts' could be NULL
pointer.
Therefore, it should be better to check it in order to avoid the
dereference of the NULL pointer.
Also, the caller esparser_queue() needs to deal with the return value of
the amvdec_add_ts().
Fixes: 876f123b8956 ("media: meson: vdec: bring up to compliance")
Signed-off-by: Jiasheng Jiang <[email protected]>
Suggested-by: Neil Armstrong <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions