From c9c3a68fae69a51f3af39267b028d1b77d6bbe87 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Sun, 18 Jul 2021 23:23:20 +0200 Subject: [PATCH] asn1,rrc_nr: add error code handling to packing/unpacking of pdcch_cfg --- lib/src/asn1/rrc_nr.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/asn1/rrc_nr.cc b/lib/src/asn1/rrc_nr.cc index f940f3375..2267d4ff8 100644 --- a/lib/src/asn1/rrc_nr.cc +++ b/lib/src/asn1/rrc_nr.cc @@ -3039,7 +3039,7 @@ SRSASN_CODE pdcch_cfg_common_s::pack(bit_ref& bref) const if (ext) { ext_groups_packer_guard group_flags; group_flags[0] |= first_pdcch_monitoring_occasion_of_po.is_present(); - group_flags.pack(bref); + HANDLE_CODE(group_flags.pack(bref)); if (group_flags[0]) { varlength_field_pack_guard varlen_scope(bref, false); @@ -3091,7 +3091,7 @@ SRSASN_CODE pdcch_cfg_common_s::unpack(cbit_ref& bref) if (ext) { ext_groups_unpacker_guard group_flags(1); - group_flags.unpack(bref); + HANDLE_CODE(group_flags.unpack(bref)); if (group_flags[0]) { varlength_field_unpack_guard varlen_scope(bref, false);