mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 13:09:04 -04:00
Merge "qcacld-3.0: Check ie_len against 255 in function get_container_ies_len" into wlan-cld3.driver.lnx.2.0-dev
This commit is contained in:
commit
766ef82d2a
2 changed files with 4 additions and 2 deletions
|
|
@ -35,7 +35,7 @@
|
|||
*
|
||||
*
|
||||
* This file was automatically generated by 'framesc'
|
||||
* Fri Oct 20 13:46:56 2017 from the following file(s):
|
||||
* Fri Oct 20 13:48:39 2017 from the following file(s):
|
||||
*
|
||||
* dot11f.frms
|
||||
*
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
*
|
||||
*
|
||||
* This file was automatically generated by 'framesc'
|
||||
* Fri Oct 20 13:46:56 2017 from the following file(s):
|
||||
* Fri Oct 20 13:48:39 2017 from the following file(s):
|
||||
*
|
||||
* dot11f.frms
|
||||
*
|
||||
|
|
@ -349,6 +349,8 @@ static uint32_t get_container_ies_len(tpAniSirGlobal pCtx,
|
|||
pBufRemaining += *(pBufRemaining + 1) + 2;
|
||||
}
|
||||
|
||||
if (len > 0xFF)
|
||||
return DOT11F_INTERNAL_ERROR;
|
||||
*pnConsumed = len;
|
||||
return DOT11F_PARSE_SUCCESS;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue