Re: [PATCH] libavdevice/lavfi: check av_strdup of the graph description
Nicolas George via ffmpeg-devel <[email protected]> Fri, 3 Jul 2026 13:20:56 +0200
| Newsgroups | gmane.comp.video.ffmpeg.devel |
|---|---|
| Message-ID | <[email protected]> |
Anas Khan via ffmpeg-devel (HE12026-07-03): > When no graph_str had been read from a file, it was duplicated from > avctx->url without checking the result. On allocation failure a NULL was > passed to avfilter_graph_parse_ptr(). Fail with AVERROR(ENOMEM) when the > duplication of a non-NULL url fails, preserving the existing behaviour when > no url is provided. > > Signed-off-by: Anas Khan <[email protected]> > --- > libavdevice/lavfi.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) LGTM, thanks. Regards, -- Nicolas George _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]