Re: [PATCH] clk: imx: scu: use _safe list iterator to avoid a use after free

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

 



On Wed, 19 Apr 2023 17:23:01 +0300, Dan Carpenter wrote:
> This loop is freeing "clk" so it needs to use list_for_each_entry_safe().
> Otherwise it dereferences a freed variable to get the next item on the
> loop.
> 
> 

Applied, thanks!

[1/1] clk: imx: scu: use _safe list iterator to avoid a use after free
      commit: 632c60ecd25dbacee54d5581fe3aeb834b57010a

Best regards,
-- 
Abel Vesa <abel.vesa@xxxxxxxxxx>



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux