diff options
author | Johan Hovold <[email protected]> | 2017-01-12 14:56:16 +0100 |
---|---|---|
committer | Johan Hovold <[email protected]> | 2017-01-16 16:38:56 +0100 |
commit | 36356a669eddb32917fc4b5c2b9b8bf80ede69de (patch) | |
tree | b22ebd4ccc8ff200b9fca70f9876f948d7bbee51 /scripts/gdb/linux/tasks.py | |
parent | 750acdd781cf7e97c8c60d2ff5053dd4b12bbc84 (diff) |
USB: serial: mct_u232: fix modem-status error handling
Make sure to detect short control-message transfers so that errors are
logged when reading the modem status at open.
Note that while this also avoids initialising the modem status using
uninitialised heap data, these bits could not leak to user space as they
are currently not used.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
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