This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit bf5db41d847d20e8ca6197b3f0def00712c8785c Author: Michael Niedermayer <[email protected]> AuthorDate: Fri Nov 13 01:57:56 2026 +0100 Commit: michaelni <[email protected]> CommitDate: Mon Nov 16 18:01:50 2026 +0000 avfilter/aeval: limit the channel index of val() as unsigned Fixes: heap-buffer-overflow (read) Found during triage of the security report nw59dSqw4SNa Out of array read Replicated through UnModified FFmpeg with ASAN --- libavfilter/aeval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/aeval.c b/libavfilter/aeval.c index baea5886fc..e88cb331ff 100644 --- a/libavfilter/aeval.c +++ b/libavfilter/aeval.c @@ -77,7 +77,7 @@ typedef struct EvalContext { static double val(void *priv, double ch) { EvalContext *eval = priv; - return eval->channel_values[FFMIN((int)ch, eval->nb_in_channels-1)]; + return eval->channel_values[FFMIN((unsigned)(int)ch, eval->nb_in_channels-1)]; } static double (* const aeval_func1[])(void *, double) = { val, NULL }; -- 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]
