[Asterisk-cvs] asterisk/apps app_festival.c,1.13.2.1,1.13.2.2

malcolmd at lists.digium.com malcolmd at lists.digium.com
Wed Mar 24 17:55:22 CST 2004


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

Modified Files:
      Tag: v1-0_stable
	app_festival.c 
Log Message:
Bug # 1287: Festival cache string issue fixed


Index: app_festival.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_festival.c,v
retrieving revision 1.13.2.1
retrieving revision 1.13.2.2
diff -u -d -r1.13.2.1 -r1.13.2.2
--- app_festival.c	15 Mar 2004 16:52:28 -0000	1.13.2.1
+++ app_festival.c	24 Mar 2004 22:52:10 -0000	1.13.2.2
@@ -376,6 +376,7 @@
     			if (strlen((char *)data)==strln) {
     				ast_log(LOG_DEBUG,"Size OK\n");
     				read(fdesc,&bigstring,strln);
+				bigstring[strln] = 0;
 	    			if (strcmp(bigstring,data)==0) { 
 	    				readcache=1;
 	    			} else {




More information about the svn-commits mailing list