qcacld-2.0: Update SIR_MAC_AUTH_CHALLENGE_LENGTH as per IEEE spec
qcacld-3.0 to qcacld-2.0 propagation 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: 2072937 Fix CVE-2017-11015 Change-Id: Ia8aafbb92ac089449d9ea448e45bbb4678d4bd36
This commit is contained in:
parent
e01f647bf8
commit
e45a21534d
|
@ -579,7 +579,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 New Issue