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

Git pushed a commit to branch master
in repository ffmpeg.

commit 78a29fd62f090b9ab42feb2cf9dddbb5d4d42f1e
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Tue Oct 6 07:11:38 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Tue Oct 13 02:29:51 2026 +0000

    avformat/latmenc: Take the extradata size as size_t
    
    Validating the size before it is narrowed was suggested in the report.
    
    Fixes: out of array write (unsupported av_max_alloc() > 2gb)
    Fixes: uBIqgh88C9dX
    Fixes: AISLE-2026-0111-00265
    Out of array write Replicated through API with ASAN, with av_max_alloc() 
raised above 4 GiB
    Found-by: Joshua Rogers <[email protected]>
---
 libavformat/latmenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/latmenc.c b/libavformat/latmenc.c
index 05004048aa..b17ffa254a 100644
--- a/libavformat/latmenc.c
+++ b/libavformat/latmenc.c
@@ -57,7 +57,7 @@ static const AVClass latm_muxer_class = {
     .version    = LIBAVUTIL_VERSION_INT,
 };
 
-static int latm_decode_extradata(AVFormatContext *s, uint8_t *buf, int size)
+static int latm_decode_extradata(AVFormatContext *s, uint8_t *buf, size_t size)
 {
     LATMContext *ctx = s->priv_data;
     MPEG4AudioConfig m4ac;

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