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

Git pushed a commit to branch release/8.1
in repository ffmpeg.

commit 8f0166f5d1310f50b710595280929a73a706c2da
Author:     James Almer <[email protected]>
AuthorDate: Sun May 3 13:14:02 2026 -0300
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sat Sep 19 16:59:28 2026 +0200

    tools/zmqsend: close the input FILE
    
    Fixes CVE-2026-30998
    
    Fixes: Resource leak
    Found-by: Xinghang Lv
    Signed-off-by: James Almer <[email protected]>
    (cherry picked from commit 18b83f2d0a0f9bcbafb0001a2911327c4b8df056)
---
 tools/zmqsend.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/zmqsend.c b/tools/zmqsend.c
index 17a6194b28..a0142f436a 100644
--- a/tools/zmqsend.c
+++ b/tools/zmqsend.c
@@ -166,6 +166,8 @@ int main(int argc, char **argv)
 
 end:
     av_freep(&src_buf);
+    if (strcmp(infilename, "stdin"))
+        fclose(infile);
     zmq_close(socket);
     zmq_ctx_destroy(zmq_ctx);
     return ret;

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