[asterisk-commits] tilghman: trunk r96332 - in /trunk: ./ res/res_config_pgsql.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 3 15:43:59 CST 2008


Author: tilghman
Date: Thu Jan  3 15:43:58 2008
New Revision: 96332

URL: http://svn.digium.com/view/asterisk?view=rev&rev=96332
Log:
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)

........

Modified:
    trunk/   (props changed)
    trunk/res/res_config_pgsql.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/res/res_config_pgsql.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_config_pgsql.c?view=diff&rev=96332&r1=96331&r2=96332
==============================================================================
--- trunk/res/res_config_pgsql.c (original)
+++ trunk/res/res_config_pgsql.c Thu Jan  3 15:43:58 2008
@@ -665,7 +665,7 @@
 	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;




More information about the asterisk-commits mailing list