This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 341553de8a6224e636a56d084e3b635290377742 Author: Michael Niedermayer <[email protected]> AuthorDate: Mon Oct 12 02:42:03 2026 +0200 Commit: michaelni <[email protected]> CommitDate: Tue Oct 20 02:25:09 2026 +0000 avfilter/dnn_backend_openvino: do not free the model when updating it fails Fixes: double free Fixes: QIOnvFKEz80N Regression since: 22652b576c Found during triage of the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24617 Double free Replicated through UnModified FFmpeg with ASAN --- libavfilter/dnn/dnn_backend_openvino.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/dnn/dnn_backend_openvino.c b/libavfilter/dnn/dnn_backend_openvino.c index d134beed12..1b681520e2 100644 --- a/libavfilter/dnn/dnn_backend_openvino.c +++ b/libavfilter/dnn/dnn_backend_openvino.c @@ -749,8 +749,6 @@ static int init_model_ov(OVModel *ov_model, const char *input_name, const char * status = ov_preprocess_prepostprocessor_build(ov_model->preprocess, &ov_model->ov_model); if (status != OK) { av_log(ctx, AV_LOG_ERROR, "Failed to update OV model\n"); - ov_model_free(tmp_ov_model); - tmp_ov_model = NULL; ret = ov2_map_error(status, NULL); goto err; } -- 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]
