This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.1 in repository ffmpeg.
commit 7ba9579ae5228a3719d454e4f2575c17b409181b Author: jiangjie <[email protected]> AuthorDate: Mon Aug 17 18:05:43 2026 +0800 Commit: Michael Niedermayer <[email protected]> CommitDate: Sat Sep 19 14:27:19 2026 +0200 avformat/http: free cookie parameters on parse failure Fixes issue #24172 (cherry picked from commit 89153eb701d372f54a5d7d29de5067abc09e11d3) Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/http.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/http.c b/libavformat/http.c index b56ef5ebf9..dc9c650dc9 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -1055,8 +1055,10 @@ static int parse_cookie(HTTPContext *s, const char *p, AVDictionary **cookies) char *eql, *name; // ensure the cookie is parsable - if (parse_set_cookie(p, &new_params)) + if (parse_set_cookie(p, &new_params)) { + av_dict_free(&new_params); return -1; + } // if there is no cookie value there is nothing to parse cookie_entry = av_dict_iterate(new_params, NULL); -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
