[PATCH][next] dmaengine: stm32-mdma: Use struct_size() helper in devm_kzalloc()

Vinod Koul vkoul at kernel.org
Fri Oct 1 04:57:52 PDT 2021


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



More information about the linux-arm-kernel mailing list