This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 49c6a44c4eedfc90ca82f25d7ea7cb02085b4429 Author: Michael Niedermayer <[email protected]> AuthorDate: Mon Sep 14 18:57:09 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Sat Sep 19 19:23:02 2026 +0000 avfilter/af_chorus: reject any mismatch between the delays, decays, speeds and depths counts Fixes: out of array read Fixes: MPROjGMydv4r Found-by: zhang xingxing Signed-off-by: Michael Niedermayer <[email protected]> --- libavfilter/af_chorus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/af_chorus.c b/libavfilter/af_chorus.c index f7eeea3a23..7f1e1e2c6b 100644 --- a/libavfilter/af_chorus.c +++ b/libavfilter/af_chorus.c @@ -132,7 +132,7 @@ static av_cold int init(AVFilterContext *ctx) fill_items(s->speeds_str, &nb_speeds, s->speeds); fill_items(s->depths_str, &nb_depths, s->depths); - if (nb_delays != nb_decays && nb_delays != nb_speeds && nb_delays != nb_depths) { + if (nb_delays != nb_decays || nb_delays != nb_speeds || nb_delays != nb_depths) { av_log(ctx, AV_LOG_ERROR, "Number of delays & decays & speeds & depths given must be same.\n"); return AVERROR(EINVAL); } -- 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]
