Skip to content
Snippets Groups Projects
Commit 5e066908 authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

Merged revisions 96318 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r96318 | tilghman | 2008-01-03 15:37:02 -0600 (Thu, 03 Jan 2008) | 4 lines

Missed initialization caused crash.
Reported and fixed by: tiziano
(Closes issue #11671)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@96332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent afb20313
No related branches found
No related tags found
No related merge requests found
......@@ -665,7 +665,7 @@ static struct ast_config *config_pgsql(const char *database, const char *table,
struct ast_variable *new_v;
struct ast_category *cur_cat = NULL;
char sqlbuf[1024] = "";
char *sql;
char *sql = sqlbuf;
size_t sqlleft = sizeof(sqlbuf);
char last[80] = "";
int last_cat_metric = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment