We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3037e9e commit 0def6b4Copy full SHA for 0def6b4
lib/asn1/asn1_utils.cpp
@@ -1464,8 +1464,9 @@ SRSASN_CODE ext_groups_unpacker_guard::unpack(cbit_ref& bref)
1464
{
1465
bref_tracker = &bref;
1466
// unpack nof of ext groups
1467
- HANDLE_CODE(unpack_norm_small_non_neg_whole_number(nof_unpacked_groups, bref));
1468
- nof_unpacked_groups += 1;
+ uint32_t nof_ext_groups = 0;
+ HANDLE_CODE(unpack_norm_small_non_neg_whole_number(nof_ext_groups, bref));
1469
+ nof_unpacked_groups += nof_ext_groups + 1;
1470
resize(nof_unpacked_groups);
1471
1472
// unpack each group presence flag
0 commit comments