1. 15 9月, 2016 2 次提交
    • J
      mac80211: fix possible out-of-bounds access · 93db1d9e
      Johannes Berg 提交于
      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: NJohannes Berg <johannes.berg@intel.com>
      93db1d9e
    • J
      cfg80211: allow connect keys only with default (TX) key · f1c1f17a
      Johannes Berg 提交于
      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: NJohannes Berg <johannes.berg@intel.com>
      f1c1f17a
  2. 14 9月, 2016 6 次提交
  3. 13 9月, 2016 3 次提交
  4. 12 9月, 2016 10 次提交
  5. 11 9月, 2016 19 次提交