diff --git a/apps/registrar_client/ContactInfo.cpp b/apps/registrar_client/ContactInfo.cpp index 007e3007..91dbe9fe 100644 --- a/apps/registrar_client/ContactInfo.cpp +++ b/apps/registrar_client/ContactInfo.cpp @@ -177,7 +177,10 @@ bool ContactInfo::parse_uri() { size_t p1 = 0; int eq = 0; const char* sip_prot = "SIP:"; uri_user = ""; uri_host = ""; uri_port = ""; uri_param = ""; - + + if (uri.empty()) + return false; + while (pos= 300) {