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

Git pushed a commit to branch master
in repository ffmpeg.

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

    avformat/rtmppkt: Terminate truncated AMF strings at the bytes read
    
    Fixes: use of uninitialized memory
    Fixes: Fid2Ij03ilhP
    Fixes: AISLE-2026-0111-00158
    Use of uninitialized memory Replicated through UnModified FFmpeg with 
Valgrind
    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 ee687d4791..98fb98a9bc 100644
--- a/libavformat/rtmppkt.c
+++ b/libavformat/rtmppkt.c
@@ -551,7 +551,7 @@ static int amf_get_field_value2(GetByteContext *gb,
                     return -1;
                 if (dst_size < len + 1)
                     len = dst_size - 1;
-                bytestream2_get_buffer(gb, dst, len);
+                len = bytestream2_get_buffer(gb, dst, len);
                 dst[len] = 0;
                 break;
             default:

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