[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZtbMcPj7W_QS3-sR@calendula>
Date: Tue, 3 Sep 2024 10:44:32 +0200
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Yan Zhen <yanzhen@...o.com>
Cc: kadlec@...filter.org, roopa@...dia.com, razor@...ckwall.org,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, dsahern@...nel.org,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
bridge@...ts.linux.dev, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, opensource.kernel@...o.com
Subject: Re: [PATCH net-next v1] netfilter: Use kmemdup_array instead of
kmemdup for multiple allocation
On Mon, Aug 26, 2024 at 11:41:36AM +0800, Yan Zhen wrote:
> When we are allocating an array, using kmemdup_array() to take care about
> multiplication and possible overflows.
>
> Also it makes auditing the code easier.
Applied, thanks
Powered by blists - more mailing lists