[Freeswitch-svn] [commit] r6819 - freeswitch/trunk/src/mod/endpoints/mod_woomera

Freeswitch SVN mikej at freeswitch.org
Sat Dec 15 15:56:56 EST 2007


Author: mikej
Date: Sat Dec 15 15:56:56 2007
New Revision: 6819

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_woomera/mod_woomera.c

Log:
make sure we are using null terminated strings.

Modified: freeswitch/trunk/src/mod/endpoints/mod_woomera/mod_woomera.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_woomera/mod_woomera.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_woomera/mod_woomera.c	Sat Dec 15 15:56:56 2007
@@ -1056,7 +1056,7 @@
 				switch_channel_mark_ring_ready(channel);
 			} else if (switch_test_flag(tech_pvt, TFLAG_PARSE_INCOMING) && !strcasecmp(wmsg.command, "INCOMING")) {
 				char *exten;
-				char cid_name[512];
+				char cid_name[512] = "";
 				char *cid_num;
 				char *ip;
 				char *p;



More information about the Freeswitch-svn mailing list