diff options
| author | Qixue Xiao <[email protected]> | 2013-12-20 09:51:12 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-12-20 20:21:57 +0000 |
| commit | 351d6204bfc814a1aee300296d2f54460ffff172 (patch) | |
| tree | 8ee90f783108f35518c50fb9a43f2191e88e5a00 /drivers/tty/tty_buffer.c | |
| parent | serial: Remove old SC26XX driver (diff) | |
| download | kernel-351d6204bfc814a1aee300296d2f54460ffff172.tar.gz kernel-351d6204bfc814a1aee300296d2f54460ffff172.zip | |
tty: an overflow of multiplication in drivers/tty/cyclades.c
there is an overflow in the code :
cyz_polling_cycle = (arg * HZ) / 1000,
the multiplicator arg comes from user, so it may be an overflow if
arg is a big number. And the value of cyc_polling_cycle will be
wrong when it is used next time.
Reported-by: Qixue Xiao <[email protected]>
Suggested-by: Yongjian Xu <[email protected]>
Suggested-by: Yu Chen <[email protected]>
Signed-off-by: Qixue Xiao <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/tty/tty_buffer.c')
0 files changed, 0 insertions, 0 deletions
