[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<171874322890.29933.12278872783438831362.git-patchwork-notify@kernel.org>
Date: Tue, 18 Jun 2024 20:40:28 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: yangbo.lu@....com, richardcochran@...il.com, davem@...emloft.net,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org, christophe.jaillet@...adoo.fr
Subject: Re: [PATCH v2 net] ptp: fix integer overflow in max_vclocks_store
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Mon, 17 Jun 2024 12:34:32 +0300 you wrote:
> On 32bit systems, the "4 * max" multiply can overflow. Use kcalloc()
> to do the allocation to prevent this.
>
> Fixes: 44c494c8e30e ("ptp: track available ptp vclocks information")
> Signed-off-by: Dan Carpenter <dan.carpenter@...aro.org>
> ---
> v2: It's better to use kcalloc() instead of size_mul().
>
> [...]
Here is the summary with links:
- [v2,net] ptp: fix integer overflow in max_vclocks_store
https://git.kernel.org/netdev/net/c/81d23d2a2401
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists