Change in ...osmo-pcu[master]: gprs_bssgp_pcu_rx_dl_ud(): use OSMO_IMSI_BUF_SIZE

fixeria gerrit-no-reply at lists.osmocom.org
Wed Jul 24 20:39:59 UTC 2019


fixeria has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-pcu/+/14924 )

Change subject: gprs_bssgp_pcu_rx_dl_ud(): use OSMO_IMSI_BUF_SIZE
......................................................................

gprs_bssgp_pcu_rx_dl_ud(): use OSMO_IMSI_BUF_SIZE

Change-Id: Ia1da9f005b7f801872c542d31cc8eabd859d997a
---
M src/gprs_bssgp_pcu.cpp
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  laforge: Looks good to me, approved
  keith: Looks good to me, but someone else must approve
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/src/gprs_bssgp_pcu.cpp b/src/gprs_bssgp_pcu.cpp
index f7c681c..ddf5174 100644
--- a/src/gprs_bssgp_pcu.cpp
+++ b/src/gprs_bssgp_pcu.cpp
@@ -91,7 +91,7 @@
 	uint32_t tlli_old = 0;
 	uint8_t *data;
 	uint16_t len;
-	char imsi[16] = "000";
+	char imsi[OSMO_IMSI_BUF_SIZE] = "000";
 	uint8_t ms_class = 0;
 	uint8_t egprs_ms_class = 0;
 	int rc;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/14924
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Ia1da9f005b7f801872c542d31cc8eabd859d997a
Gerrit-Change-Number: 14924
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: keith <keith at rhizomatica.org>
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190724/04decd73/attachment.html>


More information about the gerrit-log mailing list