From 69b1a2319e35b0de568398f0bda07c616bbabc3b Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Fri, 24 May 2019 12:55:22 +0200 Subject: [PATCH] Fix error in the TFT parameter list size unpacking --- lib/src/asn1/liblte_mme.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/asn1/liblte_mme.cc b/lib/src/asn1/liblte_mme.cc index d3695e946..9d417c8d8 100644 --- a/lib/src/asn1/liblte_mme.cc +++ b/lib/src/asn1/liblte_mme.cc @@ -4875,9 +4875,9 @@ LIBLTE_ERROR_ENUM liblte_mme_unpack_traffic_flow_template_ie(uint8 } } + tft->parameter_list_size = 0; if(param_list_present) { - tft->parameter_list_size = 0; while(idx < (*ie_ptr)[0]) { tft->parameter_list[tft->parameter_list_size].id = (*ie_ptr)[idx];