Re: [PATCH][next] dmaengine: stm32-mdma: Use struct_size() helper in devm_kzalloc()
From: Vinod Koul
Date: Fri Oct 01 2021 - 07:57:58 EST
On 29-09-21, 17:29, Gustavo A. R. Silva wrote:
> Make use of the struct_size() helper instead of an open-coded version,
> in order to avoid any potential type mistakes or integer overflows that,
> in the worse scenario, could lead to heap overflows.
Applied, thanks
--
~Vinod