[PATCH (speechd-up) 1/2] Insure that text is NUL-terminated before speaking it.

Luke Yelavich luke.yelavich at canonical.com
Wed Feb 24 05:49:10 CET 2010


On Thu, Feb 18, 2010 at 03:14:04AM EST, Christopher Brannon wrote:
> In parse_buf, if text preceded a command, speak was called to render
> it.  However, the text was not NUL-terminated.
> So suppose we get the string \x01+3pX\x01-3p
> That renders the x, with a pitch increment preceding it and a pitch
> decrement succeeding it.  But the string X is not NUL-terminated.
> Have you heard any odd characters when you try to read capital letters,
> for example?  This is the cause.

Applied, thanks.

Luke



More information about the Speechd mailing list