From dcae2e7f68de29fe58127b0973a71ca47c4f6d23 Mon Sep 17 00:00:00 2001 From: Roberto Louro Magueta Date: Tue, 29 Nov 2022 10:49:39 +0000 Subject: [PATCH] Fix buffer overflow for 4-layers DL --- openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c b/openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c index af1980f820..e3304c3c10 100644 --- a/openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c +++ b/openair1/PHY/NR_UE_TRANSPORT/nr_dlsch_demodulation.c @@ -2203,12 +2203,12 @@ uint8_t nr_zero_forcing_rx(uint32_t rx_size, int32_t determ_fin[12*nb_rb_0] __attribute__((aligned(32))); ///Allocate H^*H matrix elements and sub elements - conjH_H_elements = (int32_t ***)malloc16_clear( n_rx*sizeof(int32_t **) ); - for (int aarx=0;aarx