[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH (speechd-up) 1/2] Insure that text is NUL-terminated before speak
From: |
Luke Yelavich |
Subject: |
[PATCH (speechd-up) 1/2] Insure that text is NUL-terminated before speaking it. |
Date: |
Wed, 24 Feb 2010 15:49:10 +1100 |
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