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/.
lynxis lazus gerrit-no-reply at lists.osmocom.orglynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15391
Change subject: RAN_Adapter: f_ran_adapter_cleanup() check if adapter is bound
......................................................................
RAN_Adapter: f_ran_adapter_cleanup() check if adapter is bound
Don't use unbound references to objects, this will
create a dynamic test failure.
Fixes: ce0d615e12be ("sgsn: Proper shutdown of RAN_Adapter components")
Change-Id: I9c974a850949829728c35cf5dbd3333d0858fdef
---
M library/RAN_Adapter.ttcnpp
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/91/15391/1
diff --git a/library/RAN_Adapter.ttcnpp b/library/RAN_Adapter.ttcnpp
index f84fd34..aed31ed 100644
--- a/library/RAN_Adapter.ttcnpp
+++ b/library/RAN_Adapter.ttcnpp
@@ -191,6 +191,10 @@
}
function f_ran_adapter_cleanup(inout RAN_Adapter ba) {
+ if (not isbound(ba)) {
+ return;
+ }
+
if (ba.vc_RAN != null) {
if (ba.transport == RANAP_TRANSPORT_IuCS) {
#ifdef RAN_EMULATION_RANAP
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15391
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I9c974a850949829728c35cf5dbd3333d0858fdef
Gerrit-Change-Number: 15391
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190903/6fc55527/attachment.htm>