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

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Wed Jul 24 11:31:37 UTC 2019


fixeria has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/24/14924/1

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: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190724/d72219df/attachment.htm>


More information about the gerrit-log mailing list