This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/8.1 in repository ffmpeg.
commit 61e3f34d46a904c224fcd839966583947bce1da1 Author: Michael Niedermayer <[email protected]> AuthorDate: Mon Sep 14 02:01:14 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Sat Sep 19 14:27:15 2026 +0200 avfilter/vf_colorconstancy: free only allocated buffers on setup failure Fixes: invalid free on allocation failure Fixes: BvbItG8H5bk7 Found-by: zhang xingxing (cherry picked from commit 432679772a56ba1d04f9ba1ccfa24bf7092e4a15) Signed-off-by: Michael Niedermayer <[email protected]> --- libavfilter/vf_colorconstancy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_colorconstancy.c b/libavfilter/vf_colorconstancy.c index a00de84de8..29a525e872 100644 --- a/libavfilter/vf_colorconstancy.c +++ b/libavfilter/vf_colorconstancy.c @@ -221,7 +221,7 @@ static int setup_derivative_buffers(AVFilterContext* ctx, ThreadData *td) td->data[b][p] = av_calloc(s->planeheight[p] * s->planewidth[p], sizeof(*td->data[b][p])); if (!td->data[b][p]) { - cleanup_derivative_buffers(td, b + 1, p); + cleanup_derivative_buffers(td, b, p); return AVERROR(ENOMEM); } } -- 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]
