diff options
author | 2025-04-21 12:13:44 +0100 | |
---|---|---|
committer | 2025-05-21 14:49:39 +0200 | |
commit | a0bdd3d1b94d22dd9d255fd148eb9183ea0a822f (patch) | |
tree | bf9f7ef42dcac752552e6d23a9f168c1a240d7b6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | wifi: mt76: mt7996: avoid NULL pointer dereference in mt7996_set_monitor() (diff) | |
download | wireguard-linux-a0bdd3d1b94d22dd9d255fd148eb9183ea0a822f.tar.xz wireguard-linux-a0bdd3d1b94d22dd9d255fd148eb9183ea0a822f.zip |
wifi: mt76: mt7996: avoid null deref in mt7996_stop_phy()
In mt7996_stop_phy() the mt7996_phy structure is
dereferenced before the null sanity check which could
lead to a null deref.
Fix by moving the dereference operation after the
sanity check.
Fixes: 69d54ce7491d ("wifi: mt76: mt7996: switch to single multi-radio wiphy")
Signed-off-by: Qasim Ijaz <qasdev00@gmail.com>
Link: https://patch.msgid.link/20250421111344.11484-1-qasdev00@gmail.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions