Skip to content

Commit

Permalink
pv: clone string in all substr operations, related to GH #1937
Browse files Browse the repository at this point in the history
  • Loading branch information
henningw committed Apr 25, 2019
1 parent d7c117b commit 280eabf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/pv/pv_trans.c
Expand Up @@ -614,6 +614,7 @@ int tr_eval_string(struct sip_msg *msg, tr_param_t *tp, int subtype,
}
val->rs.s += i;
val->rs.len = j;
tr_string_clone_result;
break;
}
i = -i;
Expand Down

0 comments on commit 280eabf

Please sign in to comment.