[PATCH] staging: speakup: fix wraparound in uaccess length check

Samuel Thibault samuel.thibault at ens-lyon.org
Sat Jul 7 04:32:19 EDT 2018


Jann Horn, le sam. 07 juil. 2018 10:22:52 +0200, a ecrit:
> Or should I rewrite the
> patch to be simple and just bail out on `count < 3`?

Our mails have crossed :)

I believe what I sent is correct: for softsynth it does not make sense
to have room for less than 1 (non-unicode) or 3 (unicode) bytes.

Samuel


More information about the Speakup mailing list