This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 32d2145fa55c1d94a9ec23783e01d1cdfd229534
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Mon Sep 21 21:40:59 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Sun Oct 11 00:44:37 2026 +0000

    avfilter/dnn/dnn_backend_openvino: return an error when an output port 
cannot be looked up
    
    Found during triage/review of the security report WobrPAzJQZg5
    Fixes: null pointer dereference
---
 libavfilter/dnn/dnn_backend_openvino.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/dnn/dnn_backend_openvino.c 
b/libavfilter/dnn/dnn_backend_openvino.c
index 915e5e1a14..4a372f5f54 100644
--- a/libavfilter/dnn/dnn_backend_openvino.c
+++ b/libavfilter/dnn/dnn_backend_openvino.c
@@ -780,11 +780,13 @@ static int init_model_ov(OVModel *ov_model, const char 
*input_name, const char *
                                             &ov_model->output_ports[i]);
         if (status != OK) {
             av_log(ctx, AV_LOG_ERROR, "Failed to get output port %s.\n", 
output_names[i]);
+            ret = ov2_map_error(status, NULL);
             goto err;
         }
         status = ov_port_get_any_name(ov_model->output_ports[i], &port_name);
         if (status != OK) {
             av_log(ctx, AV_LOG_ERROR, "Failed to get output port name.\n");
+            ret = ov2_map_error(status, NULL);
             goto err;
         }
         av_log(ctx, AV_LOG_VERBOSE, "OpenVINO model outputs: %s\n", port_name);

-- 
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]

Reply via email to