public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel•org
To: Cong Wang <xiyou.wangcong@gmail•com>
Cc: netdev@vger•kernel.org, cong.wang@bytedance•com,
	aschultz@tpip•net, pablo@netfilter•org, laforge@gnumonks•org
Subject: Re: [Patch net] gtp: fix a potential NULL pointer dereference
Date: Tue, 27 Aug 2024 21:30:32 +0000	[thread overview]
Message-ID: <172479423249.767553.15007142293154315706.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20240825191638.146748-1-xiyou.wangcong@gmail.com>

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel•org>:

On Sun, 25 Aug 2024 12:16:38 -0700 you wrote:
> From: Cong Wang <cong.wang@bytedance•com>
> 
> When sockfd_lookup() fails, gtp_encap_enable_socket() returns a
> NULL pointer, but its callers only check for error pointers thus miss
> the NULL pointer case.
> 
> Fix it by returning an error pointer with the error code carried from
> sockfd_lookup().
> 
> [...]

Here is the summary with links:
  - [net] gtp: fix a potential NULL pointer dereference
    https://git.kernel.org/netdev/net/c/defd8b3c37b0

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



      parent reply	other threads:[~2024-08-27 21:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-25 19:16 [Patch net] gtp: fix a potential NULL pointer dereference Cong Wang
2024-08-27 14:41 ` Simon Horman
2024-08-27 16:05 ` Pablo Neira Ayuso
2024-08-27 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=172479423249.767553.15007142293154315706.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel$(echo .)org \
    --cc=aschultz@tpip$(echo .)net \
    --cc=cong.wang@bytedance$(echo .)com \
    --cc=laforge@gnumonks$(echo .)org \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=pablo@netfilter$(echo .)org \
    --cc=xiyou.wangcong@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox