This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.0 in repository ffmpeg.
commit 4306c699f650eeb103d4be45c9ebb41f9c806ec0 Author: jiangjie <[email protected]> AuthorDate: Mon Aug 17 18:05:43 2026 +0800 Commit: Michael Niedermayer <[email protected]> CommitDate: Thu Sep 17 17:36:26 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 015a150716..35f886fba7 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -1056,8 +1056,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]
