[PATCH] osmo-pcu[master]: Sanitizer build fix for TbfTest

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

arvind.sirsikar gerrit-no-reply at lists.osmocom.org
Fri Dec 9 10:43:42 UTC 2016


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

Sanitizer build fix for TbfTest

Change-Id: Ia6993fd6f89c9d9ed00ec6cb4b27953e72fa1f52
---
M tests/tbf/TbfTest.cpp
1 file changed, 2 insertions(+), 0 deletions(-)


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

diff --git a/tests/tbf/TbfTest.cpp b/tests/tbf/TbfTest.cpp
index 213bd12..bebb6ef 100644
--- a/tests/tbf/TbfTest.cpp
+++ b/tests/tbf/TbfTest.cpp
@@ -2124,6 +2124,8 @@
 	gprs_rlc_v_b *prlcmvb;
 	gprs_rlc_dl_window *prlcdlwindow;
 
+	memset(&ul_control_block, 0, sizeof(RlcMacUplink_t));
+
 	printf("=== start %s ===\n", __func__);
 
 	bts = the_bts.bts_data();

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia6993fd6f89c9d9ed00ec6cb4b27953e72fa1f52
Gerrit-PatchSet: 1
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: arvind.sirsikar <arvind.sirsikar at radisys.com>



More information about the gerrit-log mailing list