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:
commit
f6ce8afff8
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue