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

Git pushed a commit to branch master
in repository ffmpeg.

commit 18b83f2d0a0f9bcbafb0001a2911327c4b8df056
Author:     James Almer <[email protected]>
AuthorDate: Sun May 3 13:14:02 2026 -0300
Commit:     James Almer <[email protected]>
CommitDate: Fri May 15 20:35:56 2026 -0300

    tools/zmqsend: close the input FILE
    
    Fixes CVE-2026-30998
    
    Fixes: Resource leak
    Found-by: Xinghang Lv
    Signed-off-by: James Almer <[email protected]>
---
 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;

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to