diff --git a/openair-cn/SGW-LITE/sgw_lite_ie_defs.h b/openair-cn/SGW-LITE/sgw_lite_ie_defs.h index 18dd896c6c..70a2112520 100644 --- a/openair-cn/SGW-LITE/sgw_lite_ie_defs.h +++ b/openair-cn/SGW-LITE/sgw_lite_ie_defs.h @@ -120,7 +120,7 @@ typedef struct { (imsi)->digit[14] typedef struct { - uint8_t digit[IMSI_DIGITS_MAX]; + uint8_t digit[IMSI_DIGITS_MAX+1]; // +1 for '\0` macro sprintf changed in snprintf uint8_t length; } Imsi_t;