mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
34 lines
1.3 KiB
Diff
34 lines
1.3 KiB
Diff
From 1ef6add65a36de6c4da788f776de2b5b5c528d8e Mon Sep 17 00:00:00 2001
|
|
From: Krishna Kumaar Natarajan <kknatara@codeaurora.org>
|
|
Date: Wed, 5 Jul 2017 16:38:54 -0700
|
|
Subject: qcacld-3.0: Update SIR_MAC_AUTH_CHALLENGE_LENGTH as per IEEE spec
|
|
|
|
Update SIR_MAC_AUTH_CHALLENGE_LENGTH to 253 as per IEEE spec.
|
|
Currently value of SIR_MAC_AUTH_CHALLENGE_LENGTH is set to 128.
|
|
This may result in potential buffer overflow since frame parser
|
|
allows challenge text of length upto 253 but driver can not handle
|
|
challenge text longer than 128 bytes.
|
|
|
|
Change-Id: I7baf860fdde51a14a6573b4f0f26817f5071193e
|
|
CRs-Fixed: 2060959
|
|
---
|
|
core/mac/inc/sir_mac_prot_def.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/core/mac/inc/sir_mac_prot_def.h b/core/mac/inc/sir_mac_prot_def.h
|
|
index fbbd37e..be47e13 100644
|
|
--- a/core/mac/inc/sir_mac_prot_def.h
|
|
+++ b/core/mac/inc/sir_mac_prot_def.h
|
|
@@ -554,7 +554,7 @@
|
|
#define SIR_MAC_MAX_NUMBER_OF_RATES 12
|
|
#define SIR_MAC_MAX_NUM_OF_DEFAULT_KEYS 4
|
|
#define SIR_MAC_KEY_LENGTH 13 /* WEP Maximum key length size */
|
|
-#define SIR_MAC_AUTH_CHALLENGE_LENGTH 128
|
|
+#define SIR_MAC_AUTH_CHALLENGE_LENGTH 253
|
|
#define SIR_MAC_WEP_IV_LENGTH 4
|
|
#define SIR_MAC_WEP_ICV_LENGTH 4
|
|
|
|
--
|
|
cgit v1.1
|
|
|