This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 6b638b15b22e1eafeb743e774145b4cb7386e3e2 Author: Michael Niedermayer <[email protected]> AuthorDate: Fri Sep 18 00:05:57 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Sat Sep 19 19:23:02 2026 +0000 avfilter/af_chorus: allocate the modulation table with av_malloc_array Fixes: out of array access Found during review of the security report MPROjGMydv4r Signed-off-by: Michael Niedermayer <[email protected]> --- libavfilter/af_chorus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/af_chorus.c b/libavfilter/af_chorus.c index fbfc267433..b45e90a5e2 100644 --- a/libavfilter/af_chorus.c +++ b/libavfilter/af_chorus.c @@ -182,7 +182,7 @@ static int config_output(AVFilterLink *outlink) return AVERROR(EINVAL); } - s->lookup_table[n] = av_malloc(sizeof(int32_t) * s->length[n]); + s->lookup_table[n] = av_malloc_array(s->length[n], sizeof(*s->lookup_table[n])); if (!s->lookup_table[n]) 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]
