Skip to contentSkip to conversation

sotftmac: fix a slab corruption in WEP restricted key association

PATCH Daniel Drake 2 participants 4 messages Oct 12, 2006 – Oct 13, 2006 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 7 lines · Laurent Riffard

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

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

Apparently the CC list didn't work out. Adding Johannes and netdev.

Quoted 17 lines

net/ieee80211/softmac/ieee80211softmac_io.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6-mm/net/ieee80211/softmac/ieee80211softmac_io.c
===================================================================

net/ieee80211/softmac/ieee80211softmac_io.c +1 -1
@@ -304,7 +304,7 @@ ieee80211softmac_auth(struct ieee80211_a
        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;
Acked-by
#2 lore raw
Quoted 2 lines · Daniel Drake

Review

Quoted 2 lines
(quoted diff) +1 -1
-        is_shared_response ? 0 : 1 + 1 + net->challenge_len
+        (is_shared_response ? 1 + 1 + net->challenge_len : 0)

Good catch. We should send this to -stable too I think. Mind reposting the patch in an applicable format to Daniel, netdev, john, -stable (and possibly me)? Quoted isn't too useful :)

Oh and you can add

johannes

#3 lore raw
Quoted 3 lines · Johannes Berg

Good catch. We should send this to -stable too I think. Mind reposting the patch in an applicable format to Daniel, netdev, john, -stable (and possibly me)? Quoted isn't too useful :)

It was already sent to John directly. I was planning on sending it to -stable as soon as it hits Linus' tree.

Daniel

#4 lore raw
Quoted 7 lines · Daniel Drake
Quoted 3 lines · Johannes Berg

Good catch. We should send this to -stable too I think. Mind reposting the patch in an applicable format to Daniel, netdev, john, -stable (and possibly me)? Quoted isn't too useful :)

It was already sent to John directly. I was planning on sending it to -stable as soon as it hits Linus' tree.

Oh ok, good. Thanks.

johannes