This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 8b9851b005abeab60f1c87d1770c5fd7e0084c14 Author: Gil Portnoy <[email protected]> AuthorDate: Wed Mar 11 16:02:26 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Fri Mar 13 23:03:35 2026 +0100 avcodec/aac/aacdec_usac_mps212: Off-by-one bounds check in ff_aac_ec_data_deci() Signed-off-by: Michael Niedermayer <[email protected]> No testcase, the check seems redundant --- libavcodec/aac/aacdec_usac_mps212.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/aac/aacdec_usac_mps212.c b/libavcodec/aac/aacdec_usac_mps212.c index 6c1f3acb80..219a806a8b 100644 --- a/libavcodec/aac/aacdec_usac_mps212.c +++ b/libavcodec/aac/aacdec_usac_mps212.c @@ -647,7 +647,7 @@ int ff_aac_ec_data_dec(GetBitContext *gb, AACMPSLosslessData *ld, stride_table[ld->freq_res[set_idx]], start_band, end_band); - if (set_idx + data_pair > MPS_MAX_PARAM_SETS) + if (set_idx + data_pair >= MPS_MAX_PARAM_SETS) return AVERROR(EINVAL); for (int j = 0; j < data_bands; j++) _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
