From 701e4aa6be8aef72487823bbaf9dd3a1b90e9d9c Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Sat, 15 Feb 2020 15:20:20 +0100 Subject: [PATCH] fix bug causing segfault when UE wasn't initialized --- srsue/test/ttcn3/hdr/ttcn3_syssim.h | 1 + 1 file changed, 1 insertion(+) diff --git a/srsue/test/ttcn3/hdr/ttcn3_syssim.h b/srsue/test/ttcn3/hdr/ttcn3_syssim.h index 98d32857b..713f1fad9 100644 --- a/srsue/test/ttcn3/hdr/ttcn3_syssim.h +++ b/srsue/test/ttcn3/hdr/ttcn3_syssim.h @@ -687,6 +687,7 @@ public: // Find cell with highest power and select as serving cell if (not ue) { log.error("Can't configure cell. UE not initialized.\n"); + return; } // convert syssim cell list to phy cell list