]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3819 --resolve regression from FS-3762 10dfc377 feeding NULL string to printf
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 18 Jan 2012 23:45:48 +0000 (17:45 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 18 Jan 2012 23:45:48 +0000 (17:45 -0600)
src/mod/endpoints/mod_sofia/sofia.c

index 5f963f46ab5d7493ced8104456a68ae391a2f169..ecec17a6ee6275dd0165ec64b6745bfd543d9776 100644 (file)
@@ -2353,7 +2353,7 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag)
                                *timeout_seconds = "60",
                                *from_user = "", *from_domain = NULL, *outbound_proxy = NULL, *register_proxy = NULL, *contact_host = NULL,
                                *contact_params = NULL, *params = NULL, *register_transport = NULL,
-                               *reg_id = NULL, *str_rfc_5626 = NULL;
+                               *reg_id = NULL, *str_rfc_5626 = "";
 
                        if (!context) {
                                context = "default";