Re: [PATCH v5] wifi: mt76: Fix NULL Dereference caused by mt76_connac_get_he_phy_cap()

From: Markus Elfring
Date: Sat Oct 05 2024 - 13:29:54 EST


> mt76_connac_get_he_phy_cap() may return a NULL pointer,
> leading to NULL Pointer Dereference.


multiple questionable accesses?

How do you think about to use the term “null pointer dereference”
for the final commit message (including the summary phrase)?


Were any static source code analysis tools involved in the detection
of presented change possibilities?



> ---
> drivers/net/wireless/mediatek/mt76/mt7915/mcu.c | 5 +++++


Did you overlook to add patch version descriptions behind the marker line?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.12-rc1#n723

Regards,
Markus