bigger buffer for regex match

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8852 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-06-26 20:37:14 +00:00
parent 0f16046103
commit 879049b9d0
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ static int parse_exten(switch_core_session_t *session, switch_caller_profile_t *
}
if (field && strchr(expression, '(')) {
len = (uint32_t) (strlen(data) + strlen(field_data) + 10);
len = (uint32_t) (strlen(data) + strlen(field_data) + 10) * proceed;
if (!(substituted = malloc(len))) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "memory error!\n");
proceed = 0;