aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/bursts/bursts_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/bursts/bursts_test.c b/tests/bursts/bursts_test.c
index 43764ab3..d4bb3e0b 100644
--- a/tests/bursts/bursts_test.c
+++ b/tests/bursts/bursts_test.c
@@ -349,6 +349,8 @@ static void test_pdtch(uint8_t *l2, int len)
int n_errors, n_bits_total;
int rc;
+ memset(result, 0xff, len);
+
/* zero the not coded tail bits */
switch (len) {
case 34: