diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-23 01:51:22 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-27 07:20:56 +0100 |
commit | ba257f568e3aacf0aa85de2d57b6e49733bfbb69 (patch) | |
tree | b4f460c08be305b31553fdc0f51a443e6d91b0cf /doc/examples/qsvdec.c | |
parent | b93ccb8d59fc4d079e9902fd5544845c686ca86a (diff) | |
download | ffmpeg-ba257f568e3aacf0aa85de2d57b6e49733bfbb69.tar.gz |
avfilter/graphparser: Check allocations for success
parse_filter() did not check the return value of av_get_token() for
success; in case name (the name of a filter) was NULL, one got a
segfault in av_strlcpy() (called from create_filter()).
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit 95b8df687cc0182a4ec7666c2bbc2826c9ef0852)
Diffstat (limited to 'doc/examples/qsvdec.c')
0 files changed, 0 insertions, 0 deletions