Buggy speakup on Ubuntu 12.04?
Chris Brannon
chris at the-brannons.com
Sat Jun 16 09:48:42 EDT 2012
"Bohdan R. Rau" <ethanak at polip.com> writes:
> 1) if I press "go to" key, any next key causes immediately kernel panic
Hey Bohdan,
I think I found the source of the goto bug.
If you look at the handle_goto function from main.c of the Speakup
sources, you'll see this declaration:
static u_char *goto_buf = "\0\0\0\0\0\0";
That just creates a pointer to a string constant.
Try to assign to *goto_buf, and boom, there is your panic.
Instead, we want:
static u_char goto_buf[] = "\0\0\0\0\0\0";
That should fix the issue with goto, but I haven't been able to test it yet.
-- Chris
More information about the Speakup
mailing list