[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YVb3wADDQuoynu1W@matsya>
Date: Fri, 1 Oct 2021 17:27:52 +0530
From: Vinod Koul <vkoul@...nel.org>
To: "Gustavo A. R. Silva" <gustavoars@...nel.org>
Cc: Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
dmaengine@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH][next] dmaengine: stm32-mdma: Use struct_size() helper in
devm_kzalloc()
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
Powered by blists - more mailing lists