aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorQixue Xiao <[email protected]>2013-12-20 17:51:12 +0800
committerGreg Kroah-Hartman <[email protected]>2013-12-20 12:21:57 -0800
commit351d6204bfc814a1aee300296d2f54460ffff172 (patch)
tree8ee90f783108f35518c50fb9a43f2191e88e5a00 /tools/perf/util/trace-event-scripting.c
parent4903713cac8bd41b576e4e3eff3d54bd199a7737 (diff)
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 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions