This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit e64998a4840a74447648e920410ecbd3ce3c1c1a Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Sep 29 17:33:36 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Mon Oct 12 00:42:48 2026 +0000 avfilter: allocate the writable copy of a frame with the frame's size ff_inlink_make_frame_writable() allocated the copy with the link's size, so for a filter handling frames whose size differs from the link the copy failed for a larger frame and blended a smaller one into a stale size. Frames matching the link are unaffected. Found during triage of the security report RqgTntCAW2qN. --- libavfilter/avfilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index c696d37aab..1132ab7026 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -1600,7 +1600,7 @@ int ff_inlink_make_frame_writable(AVFilterLink *link, AVFrame **rframe) switch (link->type) { case AVMEDIA_TYPE_VIDEO: - out = ff_get_video_buffer(link, link->w, link->h); + out = ff_get_video_buffer(link, frame->width, frame->height); break; case AVMEDIA_TYPE_AUDIO: out = ff_get_audio_buffer(link, frame->nb_samples); -- 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]
