提交 d4d5ed39 authored 作者: Michael Jerris's avatar Michael Jerris

don't pass null to switch_loadable_module_get_dialplan_interface. Found by…

don't pass null to switch_loadable_module_get_dialplan_interface. Found by Klockwork (www.klocwork.com)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8437 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 7bab5df1
...@@ -84,6 +84,8 @@ static void switch_core_standard_on_routing(switch_core_session_t *session) ...@@ -84,6 +84,8 @@ static void switch_core_standard_on_routing(switch_core_session_t *session)
if ((dparg = strchr(dpname, ':'))) { if ((dparg = strchr(dpname, ':'))) {
*dparg++ = '\0'; *dparg++ = '\0';
} }
} else {
continue;
} }
if (!(dialplan_interface = switch_loadable_module_get_dialplan_interface(dpname))) { if (!(dialplan_interface = switch_loadable_module_get_dialplan_interface(dpname))) {
continue; continue;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论