This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new e8031e5b9a avfilter/avf_showcwt: fix out-of-bounds read in du scroll
e8031e5b9a is described below
commit e8031e5b9ad2def2a8ff51ca674f708812a7ec29
Author: jiale yao <[email protected]>
AuthorDate: Sat May 30 21:40:12 2026 +0200
Commit: michaelni <[email protected]>
CommitDate: Wed Jun 3 12:25:00 2026 +0000
avfilter/avf_showcwt: fix out-of-bounds read in du scroll
Fixes: out of array access
Found-by: jiale yao
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 839bdc7983..4c4edaa768 100644
--- a/libavfilter/avf_showcwt.c
+++ b/libavfilter/avf_showcwt.c
@@ -1060,7 +1060,7 @@ static int output_frame(AVFilterContext *ctx)
for (int p = 0; p < nb_planes; p++) {
ptrdiff_t linesize = s->outpicref->linesize[p];
- for (int y = 0; y < s->sono_size; y++) {
+ for (int y = 0; y < s->sono_size - 1; y++) {
uint8_t *dst = s->outpicref->data[p] + y * linesize;
memmove(dst, dst + linesize, s->w);
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]