skip dialplan args with bad char sequences

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16882 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West committed 2010-03-03 18:31:19 +00:00
1 parent 4a9fc2c731
commit 9819eed509
6 files changed
+27 -27

No files matched your search

+3
View File
@@ -2438,6 +2438,9 @@ SWITCH_DECLARE(char *) switch_channel_expand_variables(switch_channel_t *channel
if (*(p + 1) == '$') {
nv = 1;
p++;
} else if (*(p + 1) == '\'') {
p++;
continue;
} else if (*(p + 1) == '\\') {
*c++ = *p++;
len++;