From ecdfd6d097eb0030b1a0a003fb855b38733f9ba6 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Fri, 16 Dec 2016 14:16:41 +0100 Subject: fix: missing terminator in two value_string arrays iu_event_type_names[] and auth_action_names[] lacked a { 0, NULL }. Change-Id: I2e3f271b887e711c8139fbaa32410c16e7fe9921 --- openbsc/src/libiu/iu.c | 1 + openbsc/src/libmsc/auth.c | 1 + 2 files changed, 2 insertions(+) diff --git a/openbsc/src/libiu/iu.c b/openbsc/src/libiu/iu.c index 87a02d8e3..c15c6c5f3 100644 --- a/openbsc/src/libiu/iu.c +++ b/openbsc/src/libiu/iu.c @@ -95,6 +95,7 @@ const struct value_string iu_event_type_names[] = { IU_EVT_STR(IU_EVENT_IU_RELEASE), IU_EVT_STR(IU_EVENT_LINK_INVALIDATED), #undef IU_EVT_STR + { 0, NULL } }; struct ue_conn_ctx *ue_conn_ctx_alloc(struct osmo_sccp_link *link, uint32_t conn_id) diff --git a/openbsc/src/libmsc/auth.c b/openbsc/src/libmsc/auth.c index 9191ae8b3..3b1fd738a 100644 --- a/openbsc/src/libmsc/auth.c +++ b/openbsc/src/libmsc/auth.c @@ -39,6 +39,7 @@ const struct value_string auth_action_names[] = { AUTH_ACTION_STR(AUTH_DO_CIPH), AUTH_ACTION_STR(AUTH_DO_AUTH), #undef AUTH_ACTION_STR + { 0, NULL } }; static int -- cgit v1.2.3