mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-28 16:56:26 +00:00
00f8f70a0e
This was found by a static analyzer.
There may be a potential integer overflow issue in
sg2042_pll_recalc_rate(). numerator is defined as u64 while
parent_rate is defined as unsigned long and ctrl_table.fbdiv
is defined as unsigned int. On 32-bit machine, the result of
the calculation will be limited to "u32" without correct casting.
Integer overflow may occur on high-performance systems.
Fixes:
|
||
---|---|---|
.. | ||
clk-cv18xx-common.c | ||
clk-cv18xx-common.h | ||
clk-cv18xx-ip.c | ||
clk-cv18xx-ip.h | ||
clk-cv18xx-pll.c | ||
clk-cv18xx-pll.h | ||
clk-cv1800.c | ||
clk-cv1800.h | ||
clk-sg2042-clkgen.c | ||
clk-sg2042-pll.c | ||
clk-sg2042-rpgate.c | ||
clk-sg2042.h | ||
Kconfig | ||
Makefile |