Skip to content

Commit

Permalink
[tm] fix NULL on out of index for bavp() vars
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan-iancu committed Nov 21, 2023
1 parent d2a4169 commit 492df45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/tm/tm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1995,7 +1995,8 @@ int pv_get_tm_branch_avp(struct sip_msg *msg, pv_param_t *param,
val->ri = avp_value.n;
val->flags |= PV_VAL_INT|PV_TYPE_INT;
}
}
} else
pv_get_null(msg, param, val);

goto success;

Expand Down

0 comments on commit 492df45

Please sign in to comment.