This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 63b43e81155f16a76d782ca90d077caa55d5dbe6 Author: lusoris <[email protected]> AuthorDate: Thu Oct 15 22:06:36 2026 +0200 Commit: lusoris <[email protected]> CommitDate: Thu Oct 15 22:06:36 2026 +0200 avfilter/af_afftfilt: assert window and hop size bounds GCC 14.4.0 and 16.2.1 report -Wstringop-overflow in channel filtering. The window and hop sizes govern buffer movement, so inconsistent sizes risk writes outside the window storage. Assert that both sizes are positive and the hop does not exceed the window. Filtering with sizes satisfying these bounds is unchanged. Signed-off-by: lusoris <[email protected]> --- libavfilter/af_afftfilt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/af_afftfilt.c b/libavfilter/af_afftfilt.c index 926ce96e05..469c2ee92f 100644 --- a/libavfilter/af_afftfilt.c +++ b/libavfilter/af_afftfilt.c @@ -258,6 +258,8 @@ static int filter_channel(AVFilterContext *ctx, void *arg, int jobnr, int nb_job const int end = ff_slice_pos(channels, jobnr + 1, nb_jobs); double values[VAR_VARS_NB]; + av_assert0(window_size > 0 && s->hop_size > 0 && s->hop_size <= window_size); + memcpy(values, arg, sizeof(values)); for (int ch = start; ch < end; ch++) { -- 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]
