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/.
Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Review at https://gerrit.osmocom.org/1338
bursts test: test_pdtch: pre-init result mem
Fixes: CID#57943
Change-Id: I4547f47c4150759d5c4ab790e34e91b784b03b39
---
M tests/bursts/bursts_test.c
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/38/1338/1
diff --git a/tests/bursts/bursts_test.c b/tests/bursts/bursts_test.c
index 43764ab..d4bb3e0 100644
--- a/tests/bursts/bursts_test.c
+++ b/tests/bursts/bursts_test.c
@@ -349,6 +349,8 @@
int n_errors, n_bits_total;
int rc;
+ memset(result, 0xff, len);
+
/* zero the not coded tail bits */
switch (len) {
case 34:
--
To view, visit https://gerrit.osmocom.org/1338
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4547f47c4150759d5c4ab790e34e91b784b03b39
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>