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

Git pushed a commit to branch master
in repository ffmpeg.

commit 91be1619e2830a4cbb04259b6157a073162d215d
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Tue Oct 13 06:10:51 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Tue Oct 20 20:41:50 2026 +0000

    avfilter/dnn_backend_openvino: do not dereference output_names when the 
ports are looked up by index
    
    Fixes: O0Cm42dvrP4l
    Fixes: NULL pointer dereference
    NULL pointer dereference Replicated through UnModified FFmpeg with UBSAN 
and gdb
    Found during the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24617
---
 libavfilter/dnn/dnn_backend_openvino.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/dnn/dnn_backend_openvino.c 
b/libavfilter/dnn/dnn_backend_openvino.c
index 180e61bbfa..e2202c0da4 100644
--- a/libavfilter/dnn/dnn_backend_openvino.c
+++ b/libavfilter/dnn/dnn_backend_openvino.c
@@ -778,7 +778,7 @@ static int init_model_ov(OVModel *ov_model, const char 
*input_name, const char *
             status = ov_model_const_output_by_index(ov_model->ov_model, i,
                                             &ov_model->output_ports[i]);
         if (status != OK) {
-            av_log(ctx, AV_LOG_ERROR, "Failed to get output port %s.\n", 
output_names[i]);
+            av_log(ctx, AV_LOG_ERROR, "Failed to get output port %d.\n", i);
             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]

Reply via email to