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

From: Samuel Thibault
Date: Sat Jul 07 2018 - 04:32:39 EST


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