mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
qcacmn: Check length in wlan_crypto_rsnie_check
Check length of rsn ie in wlan_crypto_rsnie_check Change-Id: I66726a31c2f4c16cf66460cc15c62f2089a20de5
This commit is contained in:
parent
d5fdfacb1b
commit
f8ce8100ea
1 changed files with 1 additions and 1 deletions
|
|
@ -1910,7 +1910,7 @@ QDF_STATUS wlan_crypto_rsnie_check(struct wlan_crypto_params *crypto_params,
|
|||
if (len < 14)
|
||||
return QDF_STATUS_E_INVAL;
|
||||
|
||||
frm += 2, len -= 2;
|
||||
frm += 2;
|
||||
/* NB: iswapoui already validated the OUI and type */
|
||||
w = LE_READ_2(frm);
|
||||
if (w != RSN_VERSION)
|
||||
|
|
|
|||
Loading…
Reference in a new issue