Search Linux Wireless

Re: [PATCH] net: wireless: realtek/rtw89: Add check null return of kmalloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2024/10/30 08:35, Ping-Ke Shih wrote:
Kalle Valo <kvalo@xxxxxxxxxx> wrote:
Pei Xiao <xiaopei01@xxxxxxxxxx> writes:

kmalloc may fail, return might be NULL and will cause
NULL pointer dereference later.

Signed-off-by: Pei Xiao <xiaopei01@xxxxxxxxxx>

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


A way to known subject prefix is to use git log with the files touched by
this patch:
    git log --oneline drivers/net/wireless/realtek/rtw89/coex.c

Also subject can point out specific function. Then my opinion is
   "wifi: rtw89: coex: check NULL return of kmalloc in btc_fw_set_monreg()"

hi Kalle Valo and Ping-Ke Shih,
Thanks,I will modify the commit information and add Fixes.Thanks for help.

Pei Xiao.





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux