[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<169775642463.1542.9537354184307476724.git-patchwork-notify@kernel.org>
Date: Thu, 19 Oct 2023 23:00:24 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: reibax@...il.com, richardcochran@...il.com, davem@...emloft.net,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] ptp: prevent string overflow
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 18 Oct 2023 17:20:11 +0300 you wrote:
> The ida_alloc_max() function can return up to INT_MAX so this buffer is
> not large enough. Also use snprintf() for extra safety.
>
> Fixes: 403376ddb422 ("ptp: add debugfs interface to see applied channel masks")
> Signed-off-by: Dan Carpenter <dan.carpenter@...aro.org>
> ---
> drivers/ptp/ptp_clock.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Here is the summary with links:
- [net-next] ptp: prevent string overflow
https://git.kernel.org/netdev/net-next/c/75a384ceda93
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