/[linux-patches]/genpatches-2.6/trunk/2.6.18/2000_softmac-shared-key-slab-corruption.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.18/2000_softmac-shared-key-slab-corruption.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 689 - (show annotations) (download)
Sat Oct 21 22:49:51 2006 UTC (11 years, 1 month ago) by dsd
File size: 918 byte(s)
Fix slab key corruption when connecting to shared key wireless networks
1 Fix a slab corruption in ieee80211softmac_auth(). The size of a buffer
2 was miscomputed.
3
4 see http://bugzilla.kernel.org/show_bug.cgi?id=7245
5
6 Acked-by: Daniel Drake <dsd@gentoo.org>"
7 Signed-off-by: Laurent Riffard <laurent.riffard@free.fr>
8 ---
9 net/ieee80211/softmac/ieee80211softmac_io.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12 Index: linux-2.6-mm/net/ieee80211/softmac/ieee80211softmac_io.c
13 ===================================================================
14 --- linux-2.6-mm.orig/net/ieee80211/softmac/ieee80211softmac_io.c
15 +++ linux-2.6-mm/net/ieee80211/softmac/ieee80211softmac_io.c
16 @@ -304,7 +304,7 @@ ieee80211softmac_auth(struct ieee80211_a
17 2 + /* Auth Transaction Seq */
18 2 + /* Status Code */
19 /* Challenge Text IE */
20 - is_shared_response ? 0 : 1 + 1 + net->challenge_len
21 + (is_shared_response ? 1 + 1 + net->challenge_len : 0)
22 );
23 if (unlikely((*pkt) == NULL))
24 return 0;

  ViewVC Help
Powered by ViewVC 1.1.20