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

Git pushed a commit to branch master
in repository ffmpeg.

commit 4b2ce2e5b0427eb43a19724ca06b92a1dfd0300c
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Thu Sep 17 22:47:28 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Fri Sep 18 14:11:48 2026 +0000

    avformat/hlsenc: skip variants without a segment buffer in the trailer
    
    Fixes: null pointer dereference
    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 af2a922d55..69b120bde0 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -2764,6 +2764,8 @@ static int hls_write_trailer(struct AVFormatContext *s)
         vs = &hls->var_streams[i];
         oc = vs->avf;
         vtt_oc = vs->vtt_avf;
+        if (!oc->pb)
+            continue;
         old_filename = av_strdup(oc->url);
         use_temp_file = 0;
 

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