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

Git pushed a commit to branch master
in repository ffmpeg.

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

    avformat/rtpdec_h264: Ignore framesize attributes without a height
    
    Fixes: out of array read
    Fixes: xfnEsbsbvEIX
    Fixes: AISLE-2026-0111-00033
    Stack out of array read Replicated through UnModified FFmpeg (ffprobe) with 
ASAN
    Found-by: Joshua Rogers <[email protected]>
---
 libavformat/rtpdec_h264.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavformat/rtpdec_h264.c b/libavformat/rtpdec_h264.c
index 72724c2909..c145edaa5e 100644
--- a/libavformat/rtpdec_h264.c
+++ b/libavformat/rtpdec_h264.c
@@ -198,6 +198,9 @@ void ff_h264_parse_framesize(AVCodecParameters *par, const 
char *p)
         *dst++ = *p++;
     *dst = '\0';
 
+    if (*p != '-')
+        return;
+
     // a='framesize:96 320-240'
     // set our parameters
     par->width   = atoi(buf1);

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