This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.0 in repository ffmpeg.
commit 1100769bf64972ac4621b1191f80ac6df48e23e9 Author: Michael Niedermayer <[email protected]> AuthorDate: Fri Jun 12 20:21:26 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Wed Jun 17 05:19:53 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 7ac1bf5b17..f9b9e4e1d8 100644 --- a/libavfilter/avf_showcwt.c +++ b/libavfilter/avf_showcwt.c @@ -753,7 +753,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]
