[FFmpeg-devel] [PATCH 4/7] avfilter/graphparser: Check allocations for success
Nicolas George
george at nsup.org
Sun Aug 23 13:08:05 EEST 2020
Andreas Rheinhardt (12020-08-23):
> 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()).
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
> libavfilter/graphparser.c | 7 +++++++
> 1 file changed, 7 insertions(+)
LGTM.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200823/96bf7cf1/attachment.sig>
More information about the ffmpeg-devel
mailing list