[MERGED] openbsc[master]: fix: missing terminator in two value_string arrays

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Sun Dec 18 16:07:51 UTC 2016


Neels Hofmeyr has submitted this change and it was merged.

Change subject: fix: missing terminator in two value_string arrays
......................................................................


fix: missing terminator in two value_string arrays

iu_event_type_names[] and auth_action_names[] lacked a { 0, NULL }.

Change-Id: I2e3f271b887e711c8139fbaa32410c16e7fe9921
---
M openbsc/src/libiu/iu.c
M openbsc/src/libmsc/auth.c
2 files changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Max: Looks good to me, but someone else must approve
  Neels Hofmeyr: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/openbsc/src/libiu/iu.c b/openbsc/src/libiu/iu.c
index 87a02d8..c15c6c5 100644
--- a/openbsc/src/libiu/iu.c
+++ b/openbsc/src/libiu/iu.c
@@ -95,6 +95,7 @@
 	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 9191ae8..3b1fd73 100644
--- a/openbsc/src/libmsc/auth.c
+++ b/openbsc/src/libmsc/auth.c
@@ -39,6 +39,7 @@
 	AUTH_ACTION_STR(AUTH_DO_CIPH),
 	AUTH_ACTION_STR(AUTH_DO_AUTH),
 #undef AUTH_ACTION_STR
+	{ 0, NULL }
 };
 
 static int

-- 
To view, visit https://gerrit.osmocom.org/1443
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2e3f271b887e711c8139fbaa32410c16e7fe9921
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list