summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/host/virt_phy/src/virtphy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/host/virt_phy/src/virtphy.c b/src/host/virt_phy/src/virtphy.c
index 118e8a10..d0a2ddbf 100644
--- a/src/host/virt_phy/src/virtphy.c
+++ b/src/host/virt_phy/src/virtphy.c
@@ -153,6 +153,8 @@ void parse_arfcn_sig_lev_red(struct l1_model_ms *model, char * arfcn_sig_lev_red
return;
char *token = strtok(arfcn_sig_lev_red_mask, ":");
+ if (!token)
+ return;
do {
char* colon = strstr(token, ",");
uint16_t arfcn;