Commit 5cd0bd81 authored by Charles Han's avatar Charles Han Committed by Felix Fietkau
Browse files

wifi: mt76: mt7925: fix NULL deref check in mt7925_change_vif_links



In mt7925_change_vif_links() devm_kzalloc() may return NULL but this
returned value is not checked.

Fixes: 69acd6d9 ("wifi: mt76: mt7925: add mt7925_change_vif_links")
Signed-off-by: default avatarCharles Han <hanchunchao@inspur.com>
Link: https://patch.msgid.link/20241025075554.181572-1-hanchunchao@inspur.com


Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 6d18b668
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment