This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.1 in repository ffmpeg.
commit f9d7f434c0f4b1bf94ab9cdca1195a8b844fd7fe Author: Gil Portnoy <[email protected]> AuthorDate: Wed Mar 11 16:02:26 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Tue Jun 16 05:41:47 2026 +0200 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 (cherry picked from commit 8b9851b005abeab60f1c87d1770c5fd7e0084c14) Signed-off-by: Michael Niedermayer <[email protected]> --- 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 3c1b1cf30e..33c95388fc 100644 --- a/libavcodec/aac/aacdec_usac_mps212.c +++ b/libavcodec/aac/aacdec_usac_mps212.c @@ -645,7 +645,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]
