This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/7.1 in repository ffmpeg.
commit f4f723cf6507287f9eda4cc0a2c7029868d5238d Author: Michael Niedermayer <[email protected]> AuthorDate: Fri Jun 12 20:21:26 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Thu Jun 18 20:31:05 2026 +0200 avfilter/avf_showcwt: fix out of array read in compute_kernel Reproduced with a small output (e.g. size=2x2) under ASan. Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit d133b4a231ed77f87f87280d5d6ab0482b578782) Signed-off-by: Michael Niedermayer <[email protected]> --- libavfilter/avf_showcwt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/avf_showcwt.c b/libavfilter/avf_showcwt.c index 6716419af8..08207cfe0b 100644 --- a/libavfilter/avf_showcwt.c +++ b/libavfilter/avf_showcwt.c @@ -762,7 +762,7 @@ static int compute_kernel(AVFilterContext *ctx) } } - for (int n = b; n >= a; n--) { + for (int n = b - 1; n >= a; n--) { if (tkernel[n+range] != 0.f) { if (tkernel[n+range] > FLT_MIN) av_log(ctx, AV_LOG_DEBUG, "out of range kernel %g\n", tkernel[n+range]); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
