This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new 89153eb701 avformat/http: free cookie parameters on parse failure
89153eb701 is described below
commit 89153eb701d372f54a5d7d29de5067abc09e11d3
Author: jiangjie <[email protected]>
AuthorDate: Mon Aug 17 18:05:43 2026 +0800
Commit: Zhao Zhili <[email protected]>
CommitDate: Tue Aug 18 07:01:05 2026 +0000
avformat/http: free cookie parameters on parse failure
Fixes issue #24172
---
libavformat/http.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavformat/http.c b/libavformat/http.c
index 719d3c2ef5..69d4c8ab72 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -1061,8 +1061,10 @@ static int parse_cookie(HTTPContext *s, const char *p,
AVDictionary **cookies)
char *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]