Revision: 7854
http://playerstage.svn.sourceforge.net/playerstage/?rev=7854&view=rev
Author: gbiggs
Date: 2009-06-18 06:40:56 +0000 (Thu, 18 Jun 2009)
Log Message:
-----------
Fixed a range error in the Festival driver
Modified Paths:
--------------
code/player/trunk/server/drivers/speech/festival.cc
Modified: code/player/trunk/server/drivers/speech/festival.cc
===================================================================
--- code/player/trunk/server/drivers/speech/festival.cc 2009-06-17 21:39:11 UTC
(rev 7853)
+++ code/player/trunk/server/drivers/speech/festival.cc 2009-06-18 06:40:56 UTC
(rev 7854)
@@ -385,7 +385,7 @@
{
player_speech_cmd_t * cmd = (player_speech_cmd_t *) data;
// make ABSOLUTELY sure we've got one NULL
- cmd->string[cmd->string_count] = '\0';
+ cmd->string[cmd->string_count - 1] = '\0';
/* if there's space, put it in the queue */
queue.push_back(strdup(cmd->string));
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit