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
(cherry picked from commit 492df45)
  • Loading branch information
bogdan-iancu committed Nov 21, 2023
1 parent 18ca7d9 commit 71fa7e7
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 @@ -1871,7 +1871,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 71fa7e7

Please sign in to comment.