[Freeswitch-svn] [commit] r8433 - freeswitch/trunk/src
Freeswitch SVN
mikej at freeswitch.org
Fri May 16 10:59:28 EDT 2008
Author: mikej
Date: Fri May 16 10:59:28 2008
New Revision: 8433
Modified:
freeswitch/trunk/src/switch_core_session.c
Log:
don't pass null to switch_loadable_module_get_dialplan_interface. Found by Klockwork (www.klocwork.com)
Modified: freeswitch/trunk/src/switch_core_session.c
==============================================================================
--- freeswitch/trunk/src/switch_core_session.c (original)
+++ freeswitch/trunk/src/switch_core_session.c Fri May 16 10:59:28 2008
@@ -1098,7 +1098,10 @@
if ((dparg = strchr(dpname, ':'))) {
*dparg++ = '\0';
}
+ } else {
+ continue;
}
+
if (!(dialplan_interface = switch_loadable_module_get_dialplan_interface(dpname))) {
continue;
}
More information about the Freeswitch-svn
mailing list