too short str length for ULA, thanks to chinese partners

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7263 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
Lionel Gauthier
2015-04-24 08:01:40 +00:00
parent e2a6dbc51a
commit 1a3d29267b
3 changed files with 10 additions and 10 deletions
+7 -7
View File
@@ -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;
+2 -2
View File
@@ -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;
@@ -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) {