[PATCH][next] dmaengine: at_xdmac: Use struct_size() in devm_kzalloc()

Vinod Koul vkoul at kernel.org
Sun Dec 12 21:54:16 PST 2021


On 07-12-21, 18:10, 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 worst scenario, could lead to heap overflows.

Applied, thanks

-- 
~Vinod



More information about the linux-arm-kernel mailing list