avfilter/zmq: initialize send_buf before shared cleanup on parse failure

Found-by: VulnForge Security Research Team
Reported-by: Cloud-LHY <haoyuliu@clouditera.com>
This commit is contained in:
haoyuLiu authored and michaelni committed 2026-06-08 02:20:53 +00:00
1 parent c75701a62f
commit 6028720d70
1 file changed
+1 -1
+1 -1
View File
@@ -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;