aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2012-06-21 06:26:12 -0700
committerGuenter Roeck <[email protected]>2012-07-21 21:48:28 -0700
commit62867d491a27affee36194d4856564f2f4e12b3c (patch)
treec6befa5f0b75a14e1c36b932a433b05087f2a413 /tools/perf/scripts/python/syscall-counts.py
parent58c3667d83376c2f3016465f59f22c19c8f846e1 (diff)
hwmon: (fam15h_power) Fix unintentional integer overflow
Expression with two unsigned integer variables is calculated as unsigned integer before it is converted to u64. This may result in an integer overflow. Fix by typecasting the left operand to u64 before performing the left shift. This patch addresses Coverity #402320: Unintentional integer overflow. Signed-off-by: Guenter Roeck <[email protected]> Acked-by: Jean Delvare <[email protected]> Acked-by: Andreas Herrmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions