Revision: 8033
http://playerstage.svn.sourceforge.net/playerstage/?rev=8033&view=rev
Author: thjc
Date: 2009-07-16 16:38:56 +0000 (Thu, 16 Jul 2009)
Log Message:
-----------
fix mem corruption in sphinx driver, left over from conversion to dynamic arrays
Modified Paths:
--------------
code/player/trunk/server/drivers/speech/recognition/sphinx2.cc
Modified: code/player/trunk/server/drivers/speech/recognition/sphinx2.cc
===================================================================
--- code/player/trunk/server/drivers/speech/recognition/sphinx2.cc
2009-07-16 15:59:54 UTC (rev 8032)
+++ code/player/trunk/server/drivers/speech/recognition/sphinx2.cc
2009-07-16 16:38:56 UTC (rev 8033)
@@ -337,7 +337,8 @@
timestamp = this->continuousModule->read_ts;
GlobalTime->GetTime(&time);
- data.text[0] = '\0';
+ data.text = NULL;
+ data.text_count = 0;
/* Decode utterance until end (marked by a "long" silence, >1sec) */
for (;;)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit