Merge pull request #1394 in FS/freeswitch from ~F93/freeswitch:bugfix/FS-10672-truncated-variable-values-passed to master

* commit 'c6e2ce18a65cef72fde52ba3b1c9e995ba78a717':
  FS-10672 [core] Fix event url-encoding buffer size
This commit is contained in:
Mike Jerris 2017-10-23 15:48:03 +00:00
commit f6ce8afff8
1 changed files with 1 additions and 1 deletions

View File

@ -2559,7 +2559,7 @@ SWITCH_DECLARE(char *) switch_event_build_param_string(switch_event_t *event, co
}
new_len = (strlen((char *) var) * 3) + 1;
new_len = (strlen((char *) val) * 3) + 1;
if (encode_len < new_len) {
char *tmp;