Skip to content

Commit

Permalink
[PATCH] sotftmac: fix a slab corruption in WEP restricted key associa…
Browse files Browse the repository at this point in the history
…tion

Fix a slab corruption in ieee80211softmac_auth(). The size of a buffer
was miscomputed.

see http://bugzilla.kernel.org/show_bug.cgi?id=7245

Acked-by: Daniel Drake <[email protected]>
Signed-off-by: Laurent Riffard <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
  • Loading branch information
Laurent Riffard authored and linvjw committed Oct 17, 2006
1 parent 5bb85f1 commit 6684e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ieee80211/softmac/ieee80211softmac_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ ieee80211softmac_auth(struct ieee80211_auth **pkt,
2 + /* Auth Transaction Seq */
2 + /* Status Code */
/* Challenge Text IE */
is_shared_response ? 0 : 1 + 1 + net->challenge_len
(is_shared_response ? 1 + 1 + net->challenge_len : 0)
);
if (unlikely((*pkt) == NULL))
return 0;
Expand Down

0 comments on commit 6684e59

Please sign in to comment.