mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-24 08:48:37 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user