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 87941e8765 avfilter/vf_tiltandshift: keep the initial black padding
within the frame
87941e8765 is described below
commit 87941e8765c129bd9f3090481145772f14d14fb8
Author: Michael Niedermayer <[email protected]>
AuthorDate: Tue Sep 15 06:14:14 2026 +0200
Commit: michaelni <[email protected]>
CommitDate: Sun Oct 11 00:43:40 2026 +0000
avfilter/vf_tiltandshift: keep the initial black padding within the frame
Fixes: heap buffer overflow (write)
Fixes: ypfajWK7GTuH
Found-by: Zheng Yu @ Depthfirst
---
libavfilter/vf_tiltandshift.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_tiltandshift.c b/libavfilter/vf_tiltandshift.c
index f22f993bc5..cfe33d0116 100644
--- a/libavfilter/vf_tiltandshift.c
+++ b/libavfilter/vf_tiltandshift.c
@@ -197,7 +197,7 @@ static int output_frame(AVFilterLink *outlink)
// in case we have to do any initial black padding
if (s->start == TILT_BLACK) {
- for ( ; ncol < s->hold; ncol++)
+ for ( ; ncol < FFMIN(s->hold, outlink->w); ncol++)
copy_column(outlink, dst->data, dst->linesize,
(const uint8_t **)s->black_buffers, s->black_linesizes,
ncol, 0);
--
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]