diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-03-23 19:48:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-27 18:13:01 +0300 |
commit | 0efb15c14c493263cb3a5f65f5ddfd4603d19a76 (patch) | |
tree | d8edbad0f2b87ec1b97118cfc7b92fe4d64a571b /arch/x86 | |
parent | aec07465ba1b84406b2493b69db257dbff15778c (diff) | |
download | linux-0efb15c14c493263cb3a5f65f5ddfd4603d19a76.tar.xz |
speakup: Avoid crash on very long word
commit c8d2f34ea96ea3bce6ba2535f867f0d4ee3b22e1 upstream.
In case a console is set up really large and contains a really long word
(> 256 characters), we have to stop before the length of the word buffer.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Fixes: c6e3fd22cd538 ("Staging: add speakup to the staging directory")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240323164843.1426997-1-samuel.thibault@ens-lyon.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions