From 0394d21dd27eee0c55e9ccd2910c5cbed12d3996 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Mon, 6 Jan 2020 21:56:34 +0100 Subject: [PATCH] fix uninit memory in chest sl test when not test is executed --- lib/src/phy/ch_estimation/test/chest_test_sl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/phy/ch_estimation/test/chest_test_sl.c b/lib/src/phy/ch_estimation/test/chest_test_sl.c index 552ed3fba..6ba70d9a3 100644 --- a/lib/src/phy/ch_estimation/test/chest_test_sl.c +++ b/lib/src/phy/ch_estimation/test/chest_test_sl.c @@ -109,6 +109,7 @@ int main(int argc, char** argv) // Variables init Tx srslte_chest_sl_t q; + memset(q, 0, sizeof(q)); if (run_psbch_test) { // Tx