This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.1 in repository ffmpeg.
commit fdbd3f7c905f201e221803ccd9b7f03683e3dada Author: Michael Niedermayer <[email protected]> AuthorDate: Sat Nov 14 00:35:47 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Thu Nov 19 14:55:53 2026 +0100 avfilter/vf_curves: allocate the lookup tables for all 16 bit sample values Fixes: out of array read Fixes: 6MsWULeKEl3N Fixes: AISLE-2026-0166-00695 Found-by: Joshua Rogers (AISLE) Out of array read Replicated through UnModified FFmpeg with ASAN (cherry picked from commit 34dce120524ade7c97a2db19fc4703a4dc73d523) Signed-off-by: Michael Niedermayer <[email protected]> --- libavfilter/vf_curves.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_curves.c b/libavfilter/vf_curves.c index 4a7a51a3db..5fc8625a1c 100644 --- a/libavfilter/vf_curves.c +++ b/libavfilter/vf_curves.c @@ -880,7 +880,7 @@ static int config_input(AVFilterLink *inlink) for (i = 0; i < NB_COMP + 1; i++) { if (!curves->graph[i]) - curves->graph[i] = av_calloc(curves->lut_size, sizeof(*curves->graph[0])); + curves->graph[i] = av_calloc(1 << (curves->is_16bit ? 16 : 8), sizeof(*curves->graph[0])); if (!curves->graph[i]) return AVERROR(ENOMEM); ret = parse_points_str(ctx, comp_points + i, curves->comp_points_str[i], curves->lut_size); -- 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]
