From: Kalle Valo <kvalo@kernel.org>
To: Pei Xiao <xiaopei01@kylinos.cn>
Cc: linux-wireless@vger.kernel.org, pkshih@realtek.com,
xiaopeitux@foxmail.com
Subject: Re: [PATCH V2] wifi: rtw89: coex: check NULL return of kmalloc in btc_fw_set_monreg()
Date: Wed, 30 Oct 2024 12:37:36 +0200 [thread overview]
Message-ID: <87wmhpzxjj.fsf@kernel.org> (raw)
In-Reply-To: <516a91f3997534f708af43c7592cbafdd53dd599.1730253508.git.xiaopei01@kylinos.cn> (Pei Xiao's message of "Wed, 30 Oct 2024 11:20:58 +0800")
Pei Xiao <xiaopei01@kylinos.cn> writes:
> kmalloc may fail, return value might be NULL and will cause
> NULL pointer dereference. Add check NULL return of kmalloc in
> btc_fw_set_monreg().
>
> Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn>
> Fixes: b952cb0a6e2d ("wifi: rtw89: coex: Add register monitor report v7 format")
When you submit v2 please include a list of changes from v1. No need to
resend because of this but please read the documentation below.
--
https://patchwork.kernel.org/project/linux-wireless/list/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
next prev parent reply other threads:[~2024-10-30 10:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-30 3:20 [PATCH V2] wifi: rtw89: coex: check NULL return of kmalloc in btc_fw_set_monreg() Pei Xiao
2024-10-30 10:37 ` Kalle Valo [this message]
2024-11-06 6:21 ` Ping-Ke Shih
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=87wmhpzxjj.fsf@kernel.org \
--to=kvalo@kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=pkshih@realtek.com \
--cc=xiaopei01@kylinos.cn \
--cc=xiaopeitux@foxmail.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.