diff options
author | Johan Hovold <[email protected]> | 2017-01-12 14:56:11 +0100 |
---|---|---|
committer | Johan Hovold <[email protected]> | 2017-01-16 16:38:55 +0100 |
commit | 427c3a95e3e29e65f59d99aaf320d7506f3eed57 (patch) | |
tree | ef6ec9ae9040988324add87baaf33ecbde1e1302 /scripts/gdb/linux/tasks.py | |
parent | b631433b175f1002a31020e09bbfc2e5caecf290 (diff) |
USB: serial: ftdi_sio: fix modem-status error handling
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")
Cc: stable <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions