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

Git pushed a commit to branch master
in repository ffmpeg.

commit 041098a1a3bee481a1c8e905257ba04dad0c60a1
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Tue Oct 6 06:53:14 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Sun Oct 11 01:31:37 2026 +0000

    avformat/rtmppkt: Make the packet header buffer large enough
    
    The fix is the one recommended in the report.
    
    Fixes: out of array write
    Fixes: BvkwW4Yd19HN
    Fixes: AISLE-2026-0111-00462
    Stack out of array write Replicated through UnModified FFmpeg with ASAN
    Found-by: Joshua Rogers <[email protected]>
---
 libavformat/rtmppkt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/rtmppkt.c b/libavformat/rtmppkt.c
index e52307c5d6..ee687d4791 100644
--- a/libavformat/rtmppkt.c
+++ b/libavformat/rtmppkt.c
@@ -314,7 +314,7 @@ int ff_rtmp_packet_write(URLContext *h, RTMPPacket *pkt,
                          int chunk_size, RTMPPacket **prev_pkt_ptr,
                          int *nb_prev_pkt)
 {
-    uint8_t pkt_hdr[16], *p = pkt_hdr;
+    uint8_t pkt_hdr[18], *p = pkt_hdr;
     int mode = RTMP_PS_TWELVEBYTES;
     int off = 0;
     int written = 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