[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-dev
Subject:    Re: [Asterisk-Dev] -- app_festival.c -- bug. fix
From:       Jeremy McNamara <jj () nufone ! net>
Date:       2004-03-23 13:15:59
Message-ID: 4060388F.8050206 () nufone ! net
[Download RAW message or body]

Submit this to:  http://bugs.digium.com/


Jeremy McNamara



Ruben Chaer wrote:

>Hi, folks! 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;
>
>
>I am new Asterisk user and so I don't know if this is the method to send a
>bug and its fix. If this is not the place tell me where to send this kind
>of thing.
>
>bye,
>Ruben Chaer / VASEN S.A. - URUGUAY
>rch@todo.com.uy
>
>_______________________________________________
>Asterisk-Dev mailing list
>Asterisk-Dev@lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-dev
>To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>  
>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic