[PATCH] openbsc[master]: fix: gprs_gmm, gprs_llc_vty: two unterminated value_string a...

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
Wed Mar 1 14:01:45 UTC 2017


Review at  https://gerrit.osmocom.org/1942

fix: gprs_gmm, gprs_llc_vty: two unterminated value_string arrays

Change-Id: Icc4163ac4f962fe88bbebeb3310a557ba0834e84
---
M openbsc/src/gprs/gprs_gmm.c
M openbsc/src/gprs/gprs_llc_vty.c
2 files changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/42/1942/1

diff --git a/openbsc/src/gprs/gprs_gmm.c b/openbsc/src/gprs/gprs_gmm.c
index 3f59a2b..ce9faae 100644
--- a/openbsc/src/gprs/gprs_gmm.c
+++ b/openbsc/src/gprs/gprs_gmm.c
@@ -115,6 +115,7 @@
 	{ MM_IDLE,		"MM IDLE" },
 	{ MM_READY,		"MM READY" },
 	{ MM_STANDBY,		"MM STANDBY" },
+	{ 0, NULL }
 };
 
 static int gsm48_gmm_authorize(struct sgsn_mm_ctx *ctx);
diff --git a/openbsc/src/gprs/gprs_llc_vty.c b/openbsc/src/gprs/gprs_llc_vty.c
index e97416b..bf34e97 100644
--- a/openbsc/src/gprs/gprs_llc_vty.c
+++ b/openbsc/src/gprs/gprs_llc_vty.c
@@ -48,6 +48,7 @@
 	{ GPRS_LLES_ABM,		"Asynchronous Balanced Mode" },
 	{ GPRS_LLES_LOCAL_REL,		"Local Release" },
 	{ GPRS_LLES_TIMER_REC,		"Timer Recovery" },
+	{ 0, NULL }
 };
 
 static void vty_dump_lle(struct vty *vty, struct gprs_llc_lle *lle)

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icc4163ac4f962fe88bbebeb3310a557ba0834e84
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list