res_config_mysql.c: Support hostnames up to 255 bytes.

Fixes #654
This commit is contained in:
Sean Bright 2024-03-18 10:47:50 -04:00 committed by asterisk-org-access-app[bot]
parent e5e9692738
commit d2b6248196
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ struct mysql_conn {
AST_RWLIST_ENTRY(mysql_conn) list;
ast_mutex_t lock;
MYSQL handle;
char host[50];
char host[MAXHOSTNAMELEN];
char name[50];
char user[50];
char pass[50];