Message ID | 1535578816-23020-1-git-send-email-jouni@codeaurora.org (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Johannes Berg |
Headers | show |
Series | cfg80211: nl80211_update_ft_ies() to validate NL80211_ATTR_IE | expand |
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index 62e6679..65ec49d 100644 --- a/net/wireless/nl80211.c +++ b/net/wireless/nl80211.c @@ -12206,6 +12206,7 @@ static int nl80211_update_ft_ies(struct sk_buff *skb, struct genl_info *info) return -EOPNOTSUPP; if (!info->attrs[NL80211_ATTR_MDID] || + !info->attrs[NL80211_ATTR_IE] || !is_valid_ie_attr(info->attrs[NL80211_ATTR_IE])) return -EINVAL;