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

Git pushed a commit to branch master
in repository ffmpeg.

commit 5f2187392e0c38d9fcc937e12b48b1f57716e5a0
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Thu Oct 8 02:16:19 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Sun Oct 11 01:31:37 2026 +0000

    avformat/rtpdec_asf: Free the reassembled packet before replacing it
    
    Fixes: memleak
    Fixes: sggQJVux0zI6
    Memleak Replicated through UnModified FFmpeg with Valgrind
    Found during triage of the security report 9sWoEae5AABB
---
 libavformat/rtpdec_asf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/rtpdec_asf.c b/libavformat/rtpdec_asf.c
index 1360a39191..7489c174bc 100644
--- a/libavformat/rtpdec_asf.c
+++ b/libavformat/rtpdec_asf.c
@@ -250,6 +250,7 @@ static int asfrtp_parse_packet(AVFormatContext *s, 
PayloadContext *asf,
                 avio_skip(pb, len - off);
                 if (!(flags & RTP_FLAG_MARKER))
                     return -1;
+                av_freep(&asf->buf);
                 out_len     = avio_close_dyn_buf(asf->pktbuf, &asf->buf);
                 asf->pktbuf = NULL;
             } else {

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