[Asterisk-cvs] asterisk db.c,1.5,1.6

markster at lists.digium.com markster at lists.digium.com
Tue Dec 2 08:46:32 CST 2003


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv610

Modified Files:
	db.c 
Log Message:
Make valgrind happy on db read


Index: db.c
===================================================================
RCS file: /usr/cvsroot/asterisk/db.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- db.c	13 Aug 2003 15:25:16 -0000	1.5
+++ db.c	2 Dec 2003 15:12:56 -0000	1.6
@@ -135,7 +135,7 @@
 
 int ast_db_get(const char *family, const char *keys, char *value, int valuelen)
 {
-	char fullkey[256];
+	char fullkey[256]="";
 	DBT key, data;
 	int res;
 




More information about the svn-commits mailing list