Increase max buffer size (bug #2926)
authorMark Spencer <markster@digium.com>
Wed, 24 Nov 2004 03:19:27 +0000 (03:19 +0000)
committerMark Spencer <markster@digium.com>
Wed, 24 Nov 2004 03:19:27 +0000 (03:19 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4327 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_config_odbc.c

index 96d5aac..144ca55 100755 (executable)
@@ -416,7 +416,7 @@ static struct ast_config *config_odbc (const char *database, const char *table,
        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] = "";