[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174978123449.192771.10901561494426019024.git-patchwork-notify@kernel.org>
Date: Fri, 13 Jun 2025 02:20:34 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Ruslan Semchenko <uncleruc2075@...il.com>
Cc: bpf@...r.kernel.org, linux-kernel@...r.kernel.org, ast@...nel.org,
daniel@...earbox.net
Subject: Re: [PATCH] potential negative index dereference fix in
get_exec_path()
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@...nel.org>:
On Thu, 12 Jun 2025 16:18:16 +0300 you wrote:
> If readlink() fails, len will be -1, which can cause negative indexing
> and undefined behavior. This patch ensures that len is set to 0 on
> readlink failure, preventing such issues.
>
> Signed-off-by: Ruslan Semchenko <uncleruc2075@...il.com>
> ---
> tools/bpf/bpf_jit_disasm.c | 2 ++
> 1 file changed, 2 insertions(+)
Here is the summary with links:
- potential negative index dereference fix in get_exec_path()
https://git.kernel.org/bpf/bpf-next/c/af91af33c168
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