1. 15 Sep, 2016 2 commits
    • Johannes Berg's avatar
      mac80211: fix possible out-of-bounds access · 93db1d9e
      Johannes Berg authored
      In the unlikely situation that the supplicant has negotiated
      admission for the background AC (which it has no reason to as
      it's not supposed to be requiring admission control to start
      with, and we'd ignore such a requirement anyway), the loop
      here may terminate with non_acm_ac == 4, which leads to an
      array overrun.
      
      Check this explicitly just for completeness.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      93db1d9e
    • Johannes Berg's avatar
      cfg80211: allow connect keys only with default (TX) key · f1c1f17a
      Johannes Berg authored
      There's no point in allowing connect keys when one of them
      isn't also configured as the TX key, it would just confuse
      drivers and probably cause them to pick something for TX.
      Disallow this confusing and erroneous configuration.
      
      As wpa_supplicant will always send NL80211_ATTR_KEYS, even
      when there are no keys inside, allow that and treat it as
      though the attribute isn't present at all.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      f1c1f17a
  2. 13 Sep, 2016 9 commits
  3. 12 Sep, 2016 10 commits
  4. 11 Sep, 2016 19 commits