Neels Hofmeyr has uploaded this change for review. ( 
https://gerrit.osmocom.org/13227


Change subject: incoming connect: don't crash if calling addr is missing
......................................................................

incoming connect: don't crash if calling addr is missing

The idea was to guard the logging, though actually that can handle a NULL ss7
quite well.

Change-Id: Ib028432b37a5c48b677bb21b869cc722575dce92
---
M src/osmo-bsc/osmo_bsc_sigtran.c
1 file changed, 0 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/27/13227/1

diff --git a/src/osmo-bsc/osmo_bsc_sigtran.c b/src/osmo-bsc/osmo_bsc_sigtran.c
index 4b2c4ae..2ff5d80 100644
--- a/src/osmo-bsc/osmo_bsc_sigtran.c
+++ b/src/osmo-bsc/osmo_bsc_sigtran.c
@@ -122,7 +122,6 @@
        }

        ss7 = osmo_ss7_instance_find(msc->a.cs7_instance);
-       OSMO_ASSERT(ss7);
        LOGP(DMSC, LOGL_ERROR, "Unable to find MSC data under address: %s\n", 
osmo_sccp_addr_name(ss7, msc_addr));
        return NULL;
 }

--
To view, visit https://gerrit.osmocom.org/13227
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib028432b37a5c48b677bb21b869cc722575dce92
Gerrit-Change-Number: 13227
Gerrit-PatchSet: 1
Gerrit-Owner: Neels Hofmeyr <nhofm...@sysmocom.de>

Reply via email to