mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-02 19:29:31 +00:00
FS-3819 --resolve regression from FS-3762 10dfc377 feeding NULL string to printf
This commit is contained in:
parent
f4968d0e6e
commit
7a370d7771
@ -2353,7 +2353,7 @@ static void parse_gateways(sofia_profile_t *profile, switch_xml_t gateways_tag)
|
|||||||
*timeout_seconds = "60",
|
*timeout_seconds = "60",
|
||||||
*from_user = "", *from_domain = NULL, *outbound_proxy = NULL, *register_proxy = NULL, *contact_host = NULL,
|
*from_user = "", *from_domain = NULL, *outbound_proxy = NULL, *register_proxy = NULL, *contact_host = NULL,
|
||||||
*contact_params = NULL, *params = NULL, *register_transport = NULL,
|
*contact_params = NULL, *params = NULL, *register_transport = NULL,
|
||||||
*reg_id = NULL, *str_rfc_5626 = NULL;
|
*reg_id = NULL, *str_rfc_5626 = "";
|
||||||
|
|
||||||
if (!context) {
|
if (!context) {
|
||||||
context = "default";
|
context = "default";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user