From 6ffa036b844a5c6f4f4a418106df080ef50a307a Mon Sep 17 00:00:00 2001 From: Ismael Gomez Date: Tue, 29 Mar 2022 12:42:26 +0200 Subject: [PATCH] srsue,stack: initialize sdap pointers --- srsue/hdr/stack/mac_nr/demux_nr.h | 2 +- srsue/hdr/stack/ue_stack_lte.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srsue/hdr/stack/mac_nr/demux_nr.h b/srsue/hdr/stack/mac_nr/demux_nr.h index 38e8faa1c..8d896a1da 100644 --- a/srsue/hdr/stack/mac_nr/demux_nr.h +++ b/srsue/hdr/stack/mac_nr/demux_nr.h @@ -56,7 +56,7 @@ private: uint64_t received_crueid = 0; - ///< currently only DCH PDUs supported (add BCH, PCH, etc) + ///< currently only DCH & BCH PDUs supported (add PCH, etc) srsran::block_queue pdu_queue; srsran::block_queue bcch_queue; diff --git a/srsue/hdr/stack/ue_stack_lte.h b/srsue/hdr/stack/ue_stack_lte.h index 461866765..ef8a2b99f 100644 --- a/srsue/hdr/stack/ue_stack_lte.h +++ b/srsue/hdr/stack/ue_stack_lte.h @@ -65,8 +65,8 @@ public: } private: - pdcp* parent_pdcp; - sdap* parent_sdap; + pdcp* parent_pdcp = nullptr; + sdap* parent_sdap = nullptr; }; class ue_stack_lte final : public ue_stack_base,