From: Andrey Volk Date: Tue, 26 Jan 2021 17:23:52 +0000 (+0300) Subject: [mod_sofia] Fix use of uninitialized network_ip in sofia_handle_sip_r_invite() X-Git-Tag: v1.10.6^2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f348ab9d3893ad116e7c94a7fd2d42f4307b7313;p=thirdparty%2Ffreeswitch.git [mod_sofia] Fix use of uninitialized network_ip in sofia_handle_sip_r_invite() --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index dcedbc7e43..e1e6435670 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -6516,7 +6516,7 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status const char *uuid; switch_core_session_t *other_session; private_object_t *tech_pvt = switch_core_session_get_private(session); - char network_ip[80]; + char network_ip[80] = ""; int network_port = 0; switch_caller_profile_t *caller_profile = NULL; int has_t38 = 0;