Change in osmo-bsc[master]: incoming connect: don't crash if calling addr is missing

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Wed Mar 13 03:48:43 UTC 2019


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 <nhofmeyr at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190313/d4b41846/attachment.html>


More information about the gerrit-log mailing list