]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_xml_scgi] Fix dead initialization in mod_xml_scgi_shutdown()
authorAndrey Volk <andywolk@gmail.com>
Wed, 12 Jan 2022 11:34:22 +0000 (14:34 +0300)
committerAndrey Volk <andywolk@gmail.com>
Tue, 9 Aug 2022 21:11:58 +0000 (00:11 +0300)
src/mod/xml_int/mod_xml_scgi/mod_xml_scgi.c

index e346230efe16fc3cdcc51e1cd1599496737c9a75..63306c76a3e9a763c217345e3b666de4b3c9582a 100644 (file)
@@ -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");