[lvc-project] [PATCH] clk: qcom: clk-rpmh: prevent integer	overflow in recalc_rate
    Bjorn Andersson 
    andersson at kernel.org
       
    Fri Dec 27 01:38:31 MSK 2024
    
    
  
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 at kernel.org>
    
    
More information about the lvc-project
mailing list