This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 016a241102250372a9c2e96f6e8dca67ec01d3f7 Author: Michael Niedermayer <[email protected]> AuthorDate: Sun May 3 04:03:07 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Sun May 3 02:36:54 2026 +0000 avformat/iamf_parse.c: Fix potential integer overflow in opus_decoder_config() Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/iamf_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/iamf_parse.c b/libavformat/iamf_parse.c index 926b17e23f..97a5c8a360 100644 --- a/libavformat/iamf_parse.c +++ b/libavformat/iamf_parse.c @@ -38,7 +38,7 @@ static int opus_decoder_config(IAMFCodecConfig *codec_config, { int ret, left = len - avio_tell(pb); - if (left < 11 || codec_config->audio_roll_distance >= 0) + if (left < 11 || codec_config->audio_roll_distance >= 0 || left > INT_MAX - 8) return AVERROR_INVALIDDATA; codec_config->extradata = av_malloc(left + 8); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
