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

Git pushed a commit to branch master
in repository ffmpeg.

commit 0ea6606418c4602a9de5d43657b7b2f56b0f9681
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Sat Oct 24 05:49:36 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Wed Oct 28 22:40:37 2026 +0000

    avcodec/libxevd: free the slice type storage of NAL units that complete no 
picture
    
    Found during triage of the security report AkIti8GalyUg.
    
    Fixes: memleak
    Fixes: 5nzyL324psH3
    Memleak Replicated through UnModified FFmpeg with ASAN
---
 libavcodec/libxevd.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/libxevd.c b/libavcodec/libxevd.c
index 4aad67af6f..b1bede5e1b 100644
--- a/libavcodec/libxevd.c
+++ b/libavcodec/libxevd.c
@@ -380,6 +380,8 @@ static int libxevd_receive_frame(AVCodecContext *avctx, 
AVFrame *frame)
             }
 
             bs_read_pos += nalu_size;
+            if (stat.fnum < 0)
+                av_freep(&bitb.pdata[1]);
 
             if (stat.nalu_type == XEVD_NUT_SPS) { // EVC stream parameters 
changed
                 if ((ret = export_stream_params(xectx, avctx)) != 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