Change in osmo-pcu[master]: bts: fix uninitialized memaccess in BTS::send_gsmtap()

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 Jan 13 12:58:35 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcu/+/22155 )


Change subject: bts: fix uninitialized memaccess in BTS::send_gsmtap()
......................................................................

bts: fix uninitialized memaccess in BTS::send_gsmtap()

Change-Id: I7c5105c9e8a2c680dc8b24cc5e3bda6f7405a3ee
Fixes: CID#216511
---
M src/bts.cpp
1 file changed, 1 insertion(+), 1 deletion(-)



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

diff --git a/src/bts.cpp b/src/bts.cpp
index 87afc9f..307df94 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -529,7 +529,7 @@
 		      uint8_t ts_no, uint8_t channel, uint32_t fn,
 		      const uint8_t *data, unsigned int len)
 {
-	struct pcu_l1_meas meas;
+	struct pcu_l1_meas meas = { 0 };
 	send_gsmtap_meas(categ, uplink, trx_no, ts_no, channel, fn, data, len, &meas);
 }
 

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I7c5105c9e8a2c680dc8b24cc5e3bda6f7405a3ee
Gerrit-Change-Number: 22155
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210113/4e9a0fcb/attachment.htm>


More information about the gerrit-log mailing list