From 605f91c18dde61fd5991e80bcaaa499c92227b62 Mon Sep 17 00:00:00 2001 From: Brian West Date: Wed, 3 Mar 2010 22:30:01 +0000 Subject: [PATCH] fix regression from today git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16889 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_caller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_caller.c b/src/switch_caller.c index a8a175189c..16c03f7144 100644 --- a/src/switch_caller.c +++ b/src/switch_caller.c @@ -443,7 +443,7 @@ SWITCH_DECLARE(void) switch_caller_extension_add_application(switch_core_session - if ((p = strstr(caller_application->application_data, "\\'"))) { + if (caller_application->application_data && (p = strstr(caller_application->application_data, "\\'"))) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "App not added, Invalid character sequence in data string [%s]\n", caller_application->application_data); return;