mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: Remove CSR dot11f IE RSN max len
Max len of CSR_DOT11F_IE_RSN is 114 which is les than the DOT11F_IE_RSN_MAX_LEN (130) which may result in array overflow while parsing cckm ie. TO address this replace CSR_DOT11F_IE_RSN_MAX_LEN to with DOT11F_IE_RSN_MAX_LEN and remove CSR_DOT11F_IE_RSN_MAX_LEN as it is not getting used anywhere else. Change-Id: I58f93f37bd17653db2840720ab106c01f10d535e CRs-Fixed: 2209355
This commit is contained in:
parent
0e255175b6
commit
69e72bd66a
1 changed files with 1 additions and 2 deletions
|
|
@ -304,9 +304,8 @@ typedef struct tagCsrEseCckmInfo {
|
|||
#endif
|
||||
} tCsrEseCckmInfo;
|
||||
|
||||
#define CSR_DOT11F_IE_RSN_MAX_LEN (114)
|
||||
typedef struct tagCsrEseCckmIe {
|
||||
uint8_t cckmIe[CSR_DOT11F_IE_RSN_MAX_LEN];
|
||||
uint8_t cckmIe[DOT11F_IE_RSN_MAX_LEN];
|
||||
uint8_t cckmIeLen;
|
||||
} tCsrEseCckmIe;
|
||||
#endif /* FEATURE_WLAN_ESE */
|
||||
|
|
|
|||
Loading…
Reference in a new issue