Skip to content

Commit

Permalink
call: magic check in sipsess_desc_handler() (#1664)
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiel1 committed Nov 23, 2021
1 parent 9d6402f commit f179a19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/call.c
Original file line number Diff line number Diff line change
Expand Up @@ -2099,6 +2099,7 @@ static int sipsess_desc_handler(struct mbuf **descp, const struct sa *src,
int err;
(void) dst;

MAGIC_CHECK(call);
call->af = sa_af(src);
if (!call->acc->mnat)
sdp_session_set_laddr(call->sdp, src);
Expand Down

0 comments on commit f179a19

Please sign in to comment.