Summary:ASTERISK-01279: cache not working
Reporter:rch (rch)Labels:
Date Opened:2004-03-23 15:08:19.000-0600Date Closed:2004-09-25 02:18:20
Versions:Frequency of
Environment:Attachments:( 0) app_festival.diff
Description:I want to report a bug in "app_festival.c"
The bug occurs when you call festival with a long text-string and then call it again with a shorter text-string.

In line 378 the "read(fdesc,&bigstring,strln);" does not set the end of the string and so stuff from the previous call, with a larger string, is taken as read in the present call.


To fix the bug I have inserted the following line inmediatly after the line 378 to set the length of the read string.

// --- add the following line to fix the bug.
           bigstring[strln]= 0;
Comments:By: twisted (twisted) 2004-03-24 14:17:56.000-0600

Could you please provide a .diff patch for this?  Even though it's only one line, it will greatly simplify patching, and will create an ease in testing if we can reproduce this.

Still waiting on comments on this issue to confirm.

By: rch (rch) 2004-03-24 15:29:05.000-0600

ok. I have uploaded the diff file

By: Malcolm Davenport (mdavenport) 2004-03-24 17:55:29.000-0600

Fixed in CVS.  Thank you.