mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
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
This commit is contained in:
parent
9e63360070
commit
218693aa5a
1 changed files with 1 additions and 1 deletions
|
|
@ -561,7 +561,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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue