Skip to content

Commit

Permalink
callops: do not delete parameter if not inside R-URI
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Jun 11, 2020
1 parent a592d10 commit e186134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/callops/callops.c
Expand Up @@ -316,7 +316,7 @@ static void call_dlg_rm_uri_param(struct sip_msg *msg, str *param)
(param->len?(1 /* = */ + param->len):0);

if (del.s < uri->s || del.s + del.len > uri->s + uri->len) {
LM_BUG("parameter to delete %.*s(%d) not inside R-URI %.*s(%d) -> "
LM_DBG("parameter to delete %.*s(%d) not inside R-URI %.*s(%d) -> "
"del.s=%p<uri.s=%p || del.s + del.len=%p > uri.s + uri.len=%p\n",
del.len, del.s, del.len, uri->len, uri->s, uri->len,
del.s, uri->s, del.s + del.len, uri->s + uri->len);
Expand Down

0 comments on commit e186134

Please sign in to comment.