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

Git pushed a commit to branch master
in repository ffmpeg.

commit 82b280ca2ab440efcc932052edb53dbcc2822e4f
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Mon Sep 21 06:14:25 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Mon Sep 28 15:24:01 2026 +0000

    avfilter/vf_libopencv: return the error from read_shape_from_file()
    
    Found during triage/review of the security reports 4MBWdnTTajBU and
    ZbzgLVrnEIkH.
---
 libavfilter/vf_libopencv.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/vf_libopencv.c b/libavfilter/vf_libopencv.c
index c125d294d1..5985262966 100644
--- a/libavfilter/vf_libopencv.c
+++ b/libavfilter/vf_libopencv.c
@@ -180,6 +180,8 @@ static int read_shape_from_file(int *cols, int *rows, int 
**values, const char *
 
 end:
     av_file_unmap(buf, size);
+    if (ret < 0)
+        return ret;
 
 #ifdef DEBUG
     {

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