summaryrefslogtreecommitdiffstats
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 f10a74ad9..5352bf2d0 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
@@ -605,6 +605,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);