mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-23 07:23:12 +02:00
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 | ||