[MERGED] 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:50:15 UTC 2016


arvind.sirsikar has submitted this change and it was merged.

Change subject: Sanitizer build fix for TbfTest
......................................................................


Sanitizer build fix for TbfTest

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

Approvals:
  arvind.sirsikar: Looks good to me, but someone else must approve; Verified
  Jenkins Builder: Verified
  Holger Freyther: Looks good to me, approved



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: merged
Gerrit-Change-Id: Ia6993fd6f89c9d9ed00ec6cb4b27953e72fa1f52
Gerrit-PatchSet: 1
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: arvind.sirsikar <arvind.sirsikar at radisys.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: arvind.sirsikar <arvind.sirsikar at radisys.com>



More information about the gerrit-log mailing list