FS-10672 [core] Fix event url-encoding buffer size

This commit is contained in:
Roman Sukhov 2017-09-14 18:05:59 +03:00
parent 85348331f3
commit c6e2ce18a6
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;