public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@kernel.org>
To: Pei Xiao <xiaopei01@kylinos.cn>
Cc: pkshih@realtek.com,  linux-wireless@vger.kernel.org,
	linux-kernel@vger.kernel.org,  xiaopeitux@foxmail.com,
	xiongxin@kylinos.cn
Subject: Re: [PATCH] net: wireless: realtek/rtw89: Add check null return of kmalloc
Date: Tue, 29 Oct 2024 12:33:32 +0200	[thread overview]
Message-ID: <8734kf2o77.fsf@kernel.org> (raw)
In-Reply-To: <82dd45fe7faed8f558841643a0593202b2da90c5.1730192926.git.xiaopei01@kylinos.cn> (Pei Xiao's message of "Tue, 29 Oct 2024 17:12:01 +0800")

Pei Xiao <xiaopei01@kylinos.cn> writes:

> kmalloc may fail, return might be NULL and will cause
> NULL pointer dereference later.
>
> Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn>

We use 'wifi: rtw89:' in the title, please check the documentation below
for more.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

  reply	other threads:[~2024-10-29 10:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-29  9:12 [PATCH] net: wireless: realtek/rtw89: Add check null return of kmalloc Pei Xiao
2024-10-29 10:33 ` Kalle Valo [this message]
2024-10-30  0:35   ` Ping-Ke Shih
2024-10-30  3:12     ` Pei Xiao
2024-10-30  3:13       ` Pei Xiao
2024-10-29 20:37 ` Markus Elfring

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=8734kf2o77.fsf@kernel.org \
    --to=kvalo@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=pkshih@realtek.com \
    --cc=xiaopei01@kylinos.cn \
    --cc=xiaopeitux@foxmail.com \
    --cc=xiongxin@kylinos.cn \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox