This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 8a729ff8cec82acb50a4f5d2ab43f2f0d94514fd Author: Michael Niedermayer <[email protected]> AuthorDate: Mon Oct 12 02:16:53 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Tue Oct 20 02:25:09 2026 +0000 avfilter/af_sofalizer: check the size of the delay data Fixes: NULL pointer dereference Fixes: d80uw1EIP3Pa Regression since: ee64b64c02 Found during triage of the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24624 NULL pointer dereference Replicated through UnModified FFmpeg with ASAN --- libavfilter/af_sofalizer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavfilter/af_sofalizer.c b/libavfilter/af_sofalizer.c index 91bc4d0305..fe57777d06 100644 --- a/libavfilter/af_sofalizer.c +++ b/libavfilter/af_sofalizer.c @@ -153,7 +153,8 @@ static int preload_sofa(AVFilterContext *ctx, char *filename, int *samplingrate) return ret; } - if (!mysofa->N || !mysofa->M || mysofa->DataIR.elements / mysofa->M / mysofa->R < mysofa->N) { + if (!mysofa->N || !mysofa->M || mysofa->DataIR.elements / mysofa->M / mysofa->R < mysofa->N || + (mysofa->DataDelay.elements != mysofa->R && mysofa->DataDelay.elements / mysofa->R < mysofa->M)) { av_log(ctx, AV_LOG_ERROR, "Selected SOFA file has inconsistent dimensions.\n"); return AVERROR_INVALIDDATA; } -- 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]
