aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_ctrl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c b/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
index 3010b5591..78647d3eb 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
@@ -612,6 +612,7 @@ static int verify_net_ussd_notify(struct ctrl_cmd *cmd, const char *value, void
char *saveptr = NULL;
char *inp, *cic, *alert, *text;
+ OSMO_ASSERT(cmd);
inp = talloc_strdup(cmd, value);
cic = strtok_r(inp, ",", &saveptr);