This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit effd173379d1abe94a6ff0719edcdfc54cf1229a Author: Michael Niedermayer <[email protected]> AuthorDate: Mon Sep 14 19:07:30 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Sat Sep 19 19:23:02 2026 +0000 avfilter/af_chorus: require positive speeds Fixes: undefined float to int conversion Found during triage/review of the security report MPROjGMydv4r Signed-off-by: Michael Niedermayer <[email protected]> --- libavfilter/af_chorus.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libavfilter/af_chorus.c b/libavfilter/af_chorus.c index 7f1e1e2c6b..348261a749 100644 --- a/libavfilter/af_chorus.c +++ b/libavfilter/af_chorus.c @@ -144,6 +144,13 @@ static av_cold int init(AVFilterContext *ctx) return AVERROR(EINVAL); } + for (int n = 0; n < s->num_chorus; n++) { + if (!(s->speeds[n] > 0)) { + av_log(ctx, AV_LOG_ERROR, "Speeds must be positive.\n"); + return AVERROR(EINVAL); + } + } + s->length = av_calloc(s->num_chorus, sizeof(*s->length)); s->lookup_table = av_calloc(s->num_chorus, sizeof(*s->lookup_table)); -- 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]
