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 2a8320b325b3d8134b3445e3cb4acda38fbc6b06 Author: Michael Niedermayer <[email protected]> AuthorDate: Fri Nov 13 01:57:56 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Thu Nov 19 04:36:59 2026 +0100 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 (cherry picked from commit bf5db41d847d20e8ca6197b3f0def00712c8785c) Signed-off-by: Michael Niedermayer <[email protected]> --- 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]
