From: Russell Bryant Date: Thu, 25 Nov 2004 18:13:16 +0000 (+0000) Subject: change size of var_val (bug 2926) X-Git-Tag: 1.0.11.1~363 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb6333e01f8280c8222adb93e9c579c4046c04a9;p=thirdparty%2Fasterisk.git change size of var_val (bug 2926) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4343 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_config_odbc.c b/res/res_config_odbc.c index 3f8490530c..82e9e681b8 100755 --- a/res/res_config_odbc.c +++ b/res/res_config_odbc.c @@ -44,7 +44,7 @@ static struct ast_config *config_odbc (char *file, struct ast_config *new_config odbc_obj *obj; SQLINTEGER err=0, commented=0, cat_metric=0, var_metric=0, last_cat_metric=0; SQLBIGINT id; - char sql[255] = "", filename[128], category[128], var_name[128], var_val[128]; + char sql[255]="", filename[128]="", category[128]="", var_name[128]="", var_val[512]=""; SQLSMALLINT rowcount=0; SQLHSTMT stmt; char last[80] = "";