From 884917cb117c8ecbd8d6c6dbe939130841e8835b Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Wed, 12 Jan 2022 14:34:22 +0300 Subject: [PATCH] [mod_xml_scgi] Fix dead initialization in mod_xml_scgi_shutdown() --- src/mod/xml_int/mod_xml_scgi/mod_xml_scgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/xml_int/mod_xml_scgi/mod_xml_scgi.c b/src/mod/xml_int/mod_xml_scgi/mod_xml_scgi.c index e346230efe..63306c76a3 100644 --- a/src/mod/xml_int/mod_xml_scgi/mod_xml_scgi.c +++ b/src/mod/xml_int/mod_xml_scgi/mod_xml_scgi.c @@ -406,7 +406,7 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_xml_scgi_shutdown) if (bp->thread) { switch_status_t st; scgi_handle_t handle = { 0 }; - unsigned char buf[16336] = ""; + unsigned char buf[16336]; int x = 3; scgi_add_param(&handle, "REQUEST_METHOD", "POST");