PR #23381 opened by michaelni
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23381
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23381.patch

Found-by: VulnForge Security Research Team
Reported-by: Cloud-LHY <[email protected]>



>From e2cb3849bedc7cdf1377bd26a8af99721f978183 Mon Sep 17 00:00:00 2001
From: haoyuLiu <[email protected]>
Date: Sat, 6 Jun 2026 18:04:25 +0200
Subject: [PATCH] avfilter/zmq: initialize send_buf before shared cleanup on
 parse failure

Found-by: VulnForge Security Research Team
Reported-by: Cloud-LHY <[email protected]>
---
 libavfilter/f_zmq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/f_zmq.c b/libavfilter/f_zmq.c
index 253e1d9cc0..647ee37963 100644
--- a/libavfilter/f_zmq.c
+++ b/libavfilter/f_zmq.c
@@ -156,7 +156,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *ref)
 
     while (1) {
         char cmd_buf[1024];
-        char *recv_buf, *send_buf;
+        char *recv_buf = NULL, *send_buf = NULL;
         int recv_buf_size;
         Command cmd = {0};
         int ret;
-- 
2.52.0

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

Reply via email to