This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.1 in repository ffmpeg.
commit dd396a9ea7e22778a7c86ca16946aaff507a5c12 Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Nov 3 02:15:24 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Nov 15 02:43:22 2026 +0100 avformat/sbgdec: bound the default frame size Excessive memory allocation (peak RSS 2.3 GB from a 69 byte script) Replicated through UnModified FFmpeg with ASAN Fixes: out of memory Fixes: 6m4Av2yQJEhE Fixes: AISLE-2026-0150-00550 Found-by: Joshua Rogers (AISLE) Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 1f4b2e22cfba19f94489ec4a17130f4f0d5d8a0c) Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/sbgdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/sbgdec.c b/libavformat/sbgdec.c index 24f7d5161d..c1ba1dd408 100644 --- a/libavformat/sbgdec.c +++ b/libavformat/sbgdec.c @@ -1427,7 +1427,7 @@ static av_cold int sbg_read_header(AVFormatContext *avf) else script.sample_rate = sbg->sample_rate; if (!sbg->frame_size) - sbg->frame_size = FFMAX(1, sbg->sample_rate / 10); + sbg->frame_size = av_clip(sbg->sample_rate / 10, 1, 19200); if (script.opt_mix) av_log(avf, AV_LOG_WARNING, "Mix feature not implemented: " "-m is ignored and mix channels will be silent.\n"); -- 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]
