This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit e2b58f8b77811e9a7b8cfa713ff9960300420828
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Tue Sep 15 06:10:13 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Fri Sep 18 14:11:48 2026 +0000

    avformat/hlsenc: free the segment buffer when the muxer fails to initialize
    
    Fixes: memleak
    Found during triage/review of the security report XoynvIRQMj1M
---
 libavformat/hlsenc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index 1772be957b..af2a922d55 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -2725,6 +2725,8 @@ static void hls_deinit(AVFormatContext *s)
         av_freep(&vs->vtt_m3u8_name);
 
         avformat_free_context(vs->vtt_avf);
+        if (vs->avf)
+            ffio_free_dyn_buf(&vs->avf->pb);
         avformat_free_context(vs->avf);
         if (hls->resend_init_file)
             av_freep(&vs->init_buffer);

-- 
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]

Reply via email to