diff --git a/openair-cn/OPENAIRHSS/db/db_connector.c b/openair-cn/OPENAIRHSS/db/db_connector.c index 9fce42143e6afb3dae053011a79c272141ae8698..7e5fada9c7d2525487fd8bd9f1af095d043f14e8 100644 --- a/openair-cn/OPENAIRHSS/db/db_connector.c +++ b/openair-cn/OPENAIRHSS/db/db_connector.c @@ -116,7 +116,7 @@ int hss_mysql_update_loc(const char *imsi, mysql_ul_ans_t *mysql_ul_ans) { MYSQL_RES *res; MYSQL_ROW row; - char query[255]; + char query[1000]; int ret = 0; if ((db_desc->db_conn == NULL) || (mysql_ul_ans == NULL)) { @@ -184,7 +184,7 @@ int hss_mysql_purge_ue(mysql_pu_req_t *mysql_pu_req, { MYSQL_RES *res; MYSQL_ROW row; - char query[255]; + char query[1000]; int ret = 0; if ((db_desc->db_conn == NULL) || @@ -243,7 +243,7 @@ int hss_mysql_get_user(const char *imsi) { MYSQL_RES *res; MYSQL_ROW row; - char query[255]; + char query[1000]; if (db_desc->db_conn == NULL) { return EINVAL; @@ -282,7 +282,7 @@ int hss_mysql_get_user(const char *imsi) int mysql_push_up_loc(mysql_ul_push_t *ul_push_p) { MYSQL_RES *res; - char query[500]; + char query[1000]; int query_length = 0; int status; @@ -378,7 +378,7 @@ int hss_mysql_push_rand_sqn(const char *imsi, uint8_t *rand_p, uint8_t *sqn) { int status = 0, i; MYSQL_RES *res; - char query[255]; + char query[1000]; int query_length = 0; uint64_t sqn_decimal = 0; @@ -449,7 +449,7 @@ int hss_mysql_increment_sqn(const char *imsi) { int status; MYSQL_RES *res; - char query[255]; + char query[1000]; if (db_desc->db_conn == NULL) { return EINVAL; @@ -509,7 +509,7 @@ int hss_mysql_auth_info(mysql_auth_info_req_t *auth_info_req, int ret = 0; MYSQL_RES *res; MYSQL_ROW row; - char query[255]; + char query[1000]; if (db_desc->db_conn == NULL) { return EINVAL; diff --git a/openair-cn/OPENAIRHSS/db/db_epc_equipment.c b/openair-cn/OPENAIRHSS/db/db_epc_equipment.c index bf8373710931dbd783931c33b99e88aa6611687a..8b6c430e7c92c4e3590cedaec9c6b4f163c19506 100644 --- a/openair-cn/OPENAIRHSS/db/db_epc_equipment.c +++ b/openair-cn/OPENAIRHSS/db/db_epc_equipment.c @@ -45,7 +45,7 @@ int hss_mysql_query_mmeidentity(const int id_mme_identity, { MYSQL_RES *res; MYSQL_ROW row; - char query[255]; + char query[1000]; if ((db_desc->db_conn == NULL) || (mme_identity_p == NULL)) { return EINVAL; @@ -99,7 +99,7 @@ int hss_mysql_check_epc_equipment(mysql_mme_identity_t *mme_identity_p) { MYSQL_RES *res; MYSQL_ROW row; - char query[255]; + char query[1000]; if ((db_desc->db_conn == NULL) || (mme_identity_p == NULL)) { return EINVAL; diff --git a/openair-cn/OPENAIRHSS/db/db_subscription_data.c b/openair-cn/OPENAIRHSS/db/db_subscription_data.c index 005f18e88a48b864346cf2c4e24dc7f3378e9a7b..dc06a011a8f0ba6e9aca5637dc87c211bb8917db 100644 --- a/openair-cn/OPENAIRHSS/db/db_subscription_data.c +++ b/openair-cn/OPENAIRHSS/db/db_subscription_data.c @@ -46,7 +46,7 @@ int hss_mysql_query_pdns(const char *imsi, int ret; MYSQL_RES *res = NULL; MYSQL_ROW row; - char query[255]; + char query[1000]; mysql_pdn_t *pdn_array = NULL; if (db_desc->db_conn == NULL) {