This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgReview at https://gerrit.osmocom.org/2361 osmo_ss7: avoid crash during disconnect after unknown ASP Change-Id: Ib201f9f480f25ede0f26d4918007ff22fea28824 --- M src/osmo_ss7.c 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/61/2361/1 diff --git a/src/osmo_ss7.c b/src/osmo_ss7.c index 907d932..ef0f3da 100644 --- a/src/osmo_ss7.c +++ b/src/osmo_ss7.c @@ -1405,6 +1405,9 @@ LOGP(DLSS7, LOGL_INFO, "%s: SCTP connection closed\n", asp ? asp->cfg.name : "?"); + if (!asp) + return 0; + /* notify ASP FSM and everyone else */ osmo_fsm_inst_dispatch(asp->fi, XUA_ASP_E_SCTP_COMM_DOWN_IND, NULL); -- To view, visit https://gerrit.osmocom.org/2361 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib201f9f480f25ede0f26d4918007ff22fea28824 Gerrit-PatchSet: 1 Gerrit-Project: libosmo-sccp Gerrit-Branch: master Gerrit-Owner: Harald Welte <laforge at gnumonks.org>