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

Git pushed a commit to branch master
in repository ffmpeg.

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

    avformat/rtpdec_rfc4175: Clear the frame buffer
    
    The fix is the one recommended in the report.
    
    Fixes: use of uninitialized memory
    Fixes: V8a3e2cGQI7w
    Fixes: AISLE-2026-0111-00477
    Use of uninitialized memory Replicated through UnModified FFmpeg with 
Valgrind
    Found-by: Joshua Rogers <[email protected]>
---
 libavformat/rtpdec_rfc4175.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c
index b49fc55d2d..41bf4a2c5d 100644
--- a/libavformat/rtpdec_rfc4175.c
+++ b/libavformat/rtpdec_rfc4175.c
@@ -260,7 +260,7 @@ static int rfc4175_handle_packet(AVFormatContext *ctx, 
PayloadContext *data,
         }
 
         if (!data->frame)
-            data->frame = av_malloc(data->frame_size);
+            data->frame = av_mallocz(data->frame_size + 
AV_INPUT_BUFFER_PADDING_SIZE);
 
         data->timestamp = *timestamp;
 

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