[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <172287946012.489034.4427112322587922034.b4-ty@kernel.org>
Date: Mon, 05 Aug 2024 23:07:40 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Peter Ujfalusi <peter.ujfalusi@...il.com>, Kees Cook <kees@...nel.org>
Cc: dmaengine@...r.kernel.org,
"Gustavo A. R. Silva" <gustavoars@...nel.org>, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH] dmaengine: ti: omap-dma: Initialize sglen after
allocation
On Tue, 16 Jul 2024 14:57:06 -0700, Kees Cook wrote:
> With the new __counted_by annocation, the "sglen" struct member must
> be set before accessing the "sg" array. This initialization was done in
> other places where a new struct omap_desc is allocated, but these cases
> were missed. Set "sglen" after allocation.
>
>
Applied, thanks!
[1/1] dmaengine: ti: omap-dma: Initialize sglen after allocation
commit: 5e5c793c7fc47219998465361d94510fdf55d83f
Best regards,
--
Vinod Koul <vkoul@...nel.org>
Powered by blists - more mailing lists