Hi, On Sat, Aug 05, 2017 at 06:56:01PM +0100, Okash Khawaja wrote: > When an external USB synth is unplugged while the module is loaded, we > get a null pointer deref. This is because the tty disappears while > speakup tries to use to to communicate with the synth. This patch fixes > it by checking tty for null before using it. In case of error, it sets > synth->alive to zero and starts ttys. It also updates catch_up kthread > to check for synth->alive whenever synth_out fails. This way, when > synth_out fails, catch_up thread won't be looping forever. Sorry this description is not correct. Last two sentences, starting from "It also updates..." should be ignored. I'll send a v2. Thanks, Okash _______________________________________________ Speakup mailing list Speakup@xxxxxxxxxxxxxxxxx http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup