From 0fe7fe4e421cff3b2eae62d8af87d9ab9f6ea64f Mon Sep 17 00:00:00 2001 From: Sergey Mamonov Date: Tue, 5 Sep 2023 13:14:50 +0300 Subject: [PATCH] asn1, rrc: allocate memory for source_other_cfg_r9 before unpacking data into it --- lib/src/asn1/rrc/ho_cmd.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/asn1/rrc/ho_cmd.cc b/lib/src/asn1/rrc/ho_cmd.cc index c437e1095c..0e05776984 100644 --- a/lib/src/asn1/rrc/ho_cmd.cc +++ b/lib/src/asn1/rrc/ho_cmd.cc @@ -601,6 +601,7 @@ SRSASN_CODE as_cfg_s::unpack(cbit_ref& bref) if (source_sib_type1_ext_present) { HANDLE_CODE(source_sib_type1_ext.unpack(bref)); } + source_other_cfg_r9.set_present(true); HANDLE_CODE(source_other_cfg_r9->unpack(bref)); } if (group_flags[1]) {