Re: [PATCH] clk: qcom: clk-rpmh: prevent integer overflow in recalc_rate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 03 Dec 2024 11:42:31 +0300, Anastasia Belova wrote:
> aggr_state and unit fields are u32. The result of their
> multiplication may not fit in this type.
> 
> Add explicit casting to prevent overflow.
> 
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
> 
> [...]

Applied, thanks!

[1/1] clk: qcom: clk-rpmh: prevent integer overflow in recalc_rate
      commit: 89aa5925d201b90a48416784831916ca203658f9

Best regards,
-- 
Bjorn Andersson <andersson@xxxxxxxxxx>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux