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 8f819f83544ce0ec1e21bca93d003fd61b844619 Author: Michael Niedermayer <[email protected]> AuthorDate: Sat Nov 14 00:36:46 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Thu Nov 19 14:55:53 2026 +0100 avfilter/vf_readeia608: clip high bit depth samples to the histogram Fixes: out of array write Fixes: 1gH0Fg8kXAvn Fixes: AISLE-2026-0166-00264 Found-by: Joshua Rogers (AISLE) Out of array write Replicated through UnModified FFmpeg with ASAN (cherry picked from commit df1ddf75db9a1ff36a35019511e17f795cf20c55) Signed-off-by: Michael Niedermayer <[email protected]> --- libavfilter/vf_readeia608.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_readeia608.c b/libavfilter/vf_readeia608.c index 86e9019356..2d23afdf19 100644 --- a/libavfilter/vf_readeia608.c +++ b/libavfilter/vf_readeia608.c @@ -173,7 +173,7 @@ static void build_histogram(ReadEIA608Context *s, ScanItem *scan, const LineItem memset(scan->histogram, 0, (s->max + 1) * sizeof(*scan->histogram)); for (int i = LAG; i < len + LAG; i++) - scan->histogram[line[i].input]++; + scan->histogram[FFMIN(line[i].input, s->max)]++; } static void find_black_and_white(ReadEIA608Context *s, ScanItem *scan) -- 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]
