All of lore.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Zhixing Chen <running910@gmail.com>
Cc: bpf@vger.kernel.org, andrii@kernel.org, eddyz87@gmail.com,
	ihor.solodrai@linux.dev
Subject: Re: [PATCH bpf-next] selftests/bpf: Guard link cleanup in fexit_bpf2bpf
Date: Mon, 21 Sep 2026 21:30:08 +0000	[thread overview]
Message-ID: <179002620816.3245651.7322943257336533118.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260917093928.48495-1-running910@gmail.com>

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:

On Thu, 17 Sep 2026 17:39:28 +0800 you wrote:
> test_fexit_bpf2bpf_common() can jump to the common cleanup path before
> the link array is allocated, for example if bpf_prog_get_info_by_fd()
> fails. The cleanup loop still indexes link[i] unconditionally, which can
> dereference a NULL pointer and hide the original failure.
> 
> Guard the loop so the test reports the original failure instead.
> 
> [...]

Here is the summary with links:
  - [bpf-next] selftests/bpf: Guard link cleanup in fexit_bpf2bpf
    https://git.kernel.org/bpf/bpf-next/c/80ed1435d97d

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



      parent reply	other threads:[~2026-09-21 22:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-17  9:39 [PATCH bpf-next] selftests/bpf: Guard link cleanup in fexit_bpf2bpf Zhixing Chen
2026-09-17 10:34 ` bot+bpf-ci
2026-09-21 21:30 ` patchwork-bot+netdevbpf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179002620816.3245651.7322943257336533118.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=andrii@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=eddyz87@gmail.com \
    --cc=ihor.solodrai@linux.dev \
    --cc=running910@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.