Ticket #933 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

WPA/RSN key length ioctl setting

Reported by: anonymous Assigned to:
Priority: major Milestone: version 0.9.3
Component: madwifi: other Version:
Keywords: key length unicast multicast Cc:
Patch is attached: 0 Pending:

Description

In setparam ioctl fix IEEE80211_PARAM_UCASTKEYLEN and IEEE80211_PARAM_MCASTKEYLEN length checking. 16 bytes are also correct setting(e.g. CCMP key case). Proposed solution is to change checking from:

if (!(0 < value && value < IEEE80211_KEYBUF_SIZE))

into

if (!(0 < value && value <= IEEE80211_KEYBUF_SIZE))

P.S. I have proposed this fix maybe 2 years ago, but this bug still here !!!

Change History

10/04/06 21:03:08 changed by mrenzmann

  • summary changed from WPA/RSM key length ioctl setting to WPA/RSN key length ioctl setting.
  • milestone set to version 0.9.3.

The proposal doesn't sound wrong to me. I suggest that this is checked for possible side effects. Could be scheduled for 0.9.3 inclusion from my point of view.

12/08/06 17:55:38 changed by mrenzmann

  • status changed from new to closed.
  • resolution set to fixed.

Changed in r1848.