]> git.ipfire.org Git - thirdparty/iw.git/commit
iw: Prevent segfault in ftm get stats
authorDaniel Gabay <daniel.gabay@intel.com>
Tue, 14 Jan 2025 17:04:12 +0000 (19:04 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 24 Jun 2025 07:29:48 +0000 (09:29 +0200)
commit612f9f50d19c4fdbcd5d2a813bc26ac9995cb85c
tree5f1952b0b0e140fd9afc8c94b7f4d3a2aa354730
parent1558e6021ec5ae0f6fcb1c31e20d0d4dacebd82b
iw: Prevent segfault in ftm get stats

Ensure correct NL80211_FTM_STATS_MAX is passed to nla_parse
to prevent segmentation fault.

Fixes: 02b85d80b4f4 ("iw: add FTM responder commands")
Signed-off-by: Daniel Gabay <daniel.gabay@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
ftm.c