aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-01-12 14:56:11 +0100
committerMoyster <oysterized@gmail.com>2017-06-17 15:51:38 +0200
commit83405f870924b769a254c52232500f40781cdc54 (patch)
tree15861237ef54f9269db78a8c30d4ac593ef30721 /scripts/basic
parent78c4fe7d12c920b9955680365e6a6202872ee241 (diff)
USB: serial: ftdi_sio: fix modem-status error handling
commit 427c3a95e3e29e65f59d99aaf320d7506f3eed57 upstream. Make sure to detect short responses when fetching the modem status in order to avoid parsing uninitialised buffer data and having bits of it leak to user space. Note that we still allow for short 1-byte responses. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions