Skip to content

Commit

Permalink
siptrace: fix coverity found issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ionutionita92 committed Apr 22, 2019
1 parent ccb8ba3 commit 7f7469d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/modules/siptrace/siptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -1956,6 +1956,12 @@ static void trace_dialog_transaction(struct dlg_cell* dlg, int type, struct dlg_
return;
}

/* coverity fix - there shouldn't be a scenario for this to happen */
if (params == NULL) {
LM_ERR("NULL tm params!\n");
return;
}

/**
* DUAL BYE - internally generated BYE from kamailio
* set flag to signal request_in callback which will register
Expand Down

0 comments on commit 7f7469d

Please sign in to comment.