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

Git pushed a commit to branch master
in repository ffmpeg.

commit bc6140f3972b740c6304addaefe5bbbb6046b856
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Tue Oct 6 07:41:44 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Sun Oct 11 01:31:37 2026 +0000

    avformat/rdt: Check that the stream has an RMStream
    
    Fixes: NULL pointer dereference
    Fixes: PXsIMPp0wPaW
    Fixes: AISLE-2026-0111-00472
    NULL pointer dereference Replicated through UnModified FFmpeg (ffprobe) 
with ASAN,UBSAN
    Found-by: Joshua Rogers <[email protected]>
---
 libavformat/rdt.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavformat/rdt.c b/libavformat/rdt.c
index 77048d59c8..725793eb01 100644
--- a/libavformat/rdt.c
+++ b/libavformat/rdt.c
@@ -301,6 +301,9 @@ rdt_parse_packet (AVFormatContext *ctx, PayloadContext 
*rdt, AVStream *st,
 {
     int seq = 1, res;
 
+    if (st->index >= rdt->nb_rmst || !rdt->rmst[st->index])
+        return AVERROR_INVALIDDATA;
+
     if (rdt->audio_pkt_cnt == 0) {
         FFIOContext pb;
         int pos, rmflags;

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