diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2020-07-04 20:32:58 +0800 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2020-07-08 23:12:48 +0800 |
commit | 3ede8acba6270e46080f14caa6d91963ff3c01d2 (patch) | |
tree | 80f371836ad4cfccfa507bc602dcf25dc2a93272 /libavfilter/vf_nlmeans_opencl.c | |
parent | 1dee8bf9099ce9460486c566aa1fb0612890d939 (diff) | |
download | ffmpeg-3ede8acba6270e46080f14caa6d91963ff3c01d2.tar.gz |
avfilter/vf_showinfo: check sd->size before reference the sd->data
Or it'll cause null pointer dereference if size < sizeof(uint32_t), also
in case tc[0] > 3, the code will report error directly.
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavfilter/vf_nlmeans_opencl.c')
0 files changed, 0 insertions, 0 deletions